Skip to content

Commit

Permalink
focus on just the "pressing enter" part
Browse files Browse the repository at this point in the history
  • Loading branch information
RedDragonWebDesign committed Feb 7, 2024
1 parent 2e3b410 commit eb9abe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/forum/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
$_POST['sortresults'] = 0;
$_POST['sortresults_ascdesc'] = 0;

$_POST['filterboards'] = $_GET['filterboards'] ?? [0];
if (count($_GET['filterboards']) == 0) {
$_POST['filterboards'][] = 0;
}

foreach ($_GET as $key => $value) {
$_POST[$key] = $_GET[$key];
Expand Down

0 comments on commit eb9abe8

Please sign in to comment.