summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-09-26 14:08:40 +0200
committerczaks <marcin@6irc.net>2014-09-26 14:08:40 +0200
commitb4b99cd9369c6418534536c5eb5b7b127ab55dfa (patch)
treec6d651753c0461ba2eaa04c34f633b82e148c2f2 /search.php
parent359c295ecaf079318d55b1acc6e900ee74feb6d3 (diff)
parentbfb85fc2b19bcc895bd0034d0d7a9d7b64f481f4 (diff)
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Conflicts: stylesheets/style.css
Diffstat (limited to 'search.php')
-rw-r--r--search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.php b/search.php
index 394aa3ff..71f4ae5e 100644
--- a/search.php
+++ b/search.php
@@ -15,7 +15,7 @@
$boards = listBoards(TRUE);
}
- $body = Element('search_form.html', Array('boards' => $boards, 'board' => isset($_GET['board']) ? $_GET['board'] : false, 'search' => isset($_GET['search']) ? str_replace('"', '&quot;', utf8tohtml($_GET['search'])) : false));
+ $body = Element('search_form.html', Array('boards' => $boards, 'b' => isset($_GET['board']) ? $_GET['board'] : false, 'search' => isset($_GET['search']) ? str_replace('"', '&quot;', utf8tohtml($_GET['search'])) : false));
if(isset($_GET['search']) && !empty($_GET['search']) && isset($_GET['board']) && in_array($_GET['board'], $boards)) {
$phrase = $_GET['search'];