summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-09-26 13:07:52 +0200
committerczaks <marcin@6irc.net>2014-09-26 13:07:52 +0200
commitafbe945d838781a8a570521a85d855a28f048790 (patch)
tree1f3f93dc60f5440bc05fde88f472bde6d38d0f32 /search.php
parente5ce012a091a9b56059595e8b0b2b8fd904c228a (diff)
parentba515c5f0519ae89b0876e4291061ecf2ffa6967 (diff)
Merge branch 'master' of github.com:vichan-devel/Tinyboard
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'];