diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2019-02-26 10:47:07 +1000 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2019-02-26 10:47:07 +1000 |
| commit | 46833348d551d234742d724046246f9f99c21492 (patch) | |
| tree | 3945e2f35f8803c61c92158843be5c5a065c10f9 /search.php | |
| parent | 826a2118da89240d02993d800ebc46b1d09788fd (diff) | |
Fix board parameter passing to search.php
Diffstat (limited to 'search.php')
| -rw-r--r-- | search.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ $boards = listBoards(TRUE); } - $body = Element('search_form.html', Array('boards' => $boards, 'b' => isset($_GET['board']) ? $_GET['board'] : false, 'search' => isset($_GET['search']) ? str_replace('"', '"', utf8tohtml($_GET['search'])) : false)); + $body = Element('search_form.html', Array('boards' => $boards, 'board' => isset($_GET['board']) ? $_GET['board'] : false, 'search' => isset($_GET['search']) ? str_replace('"', '"', utf8tohtml($_GET['search'])) : false)); if(isset($_GET['search']) && !empty($_GET['search']) && isset($_GET['board']) && in_array($_GET['board'], $boards)) { $phrase = $_GET['search']; |
