Browse Source

oh hey look I just fixed #8 search.php

It was just a typo, an horrible typo.
pull/18/head
TheHowl czaks 9 years ago
parent
commit
7cac637c36
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      search.php

+ 1
- 1
search.php View File

@@ -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('"', '"', 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('"', '"', utf8tohtml($_GET['search'])) : false));
if(isset($_GET['search']) && !empty($_GET['search']) && isset($_GET['board']) && in_array($_GET['board'], $boards)) {
$phrase = $_GET['search'];


Loading…
Cancel
Save