summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
authorTheHowl <dahhowl@gmail.com>2014-09-24 23:07:36 +0200
committerczaks <marcin@6irc.net>2014-09-25 06:24:36 +0200
commit7cac637c36781db19f7b314ad0131232bfa1409b (patch)
tree28223fefa99c9c07c1ec748d7591a8058667878b /search.php
parent40409f8717f3ad34bab23d8fe7b31ff43da7716d (diff)
oh hey look I just fixed #8 search.php
It was just a typo, an horrible typo.
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'];