Skip to content

Commit

Permalink
Merge branch 'master' into fix-fatal-error-in-forum-search+issue-114
Browse files Browse the repository at this point in the history
  • Loading branch information
RedDragonWebDesign authored Feb 7, 2024
2 parents 263e6f1 + fbeafb4 commit 2e111bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/forum/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function check_filter_boards() {
$_POST['sortresults'] = 0;
$_POST['sortresults_ascdesc'] = 0;

if (count($_GET['filterboards']) == 0) {
if (count($_GET['filterboards'] ?? []) == 0) {
$_POST['filterboards'][] = 0; // 0 means search all boards
}

Expand Down
1 change: 0 additions & 1 deletion src/installer/steps/configtemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@
\$ADMIN_KEY = \"".$filterConfigKey."\"; // KEY FOR EXTRA SECURITY WHEN ADDING CONSOLE OPTION
define(\"ADMIN_KEY\", \$ADMIN_KEY);
";

0 comments on commit 2e111bc

Please sign in to comment.