From ba2daa88e6b74471bbb9cef7ec0f2cfe95531f0c Mon Sep 17 00:00:00 2001 From: fowr <89118232+perdedora@users.noreply.github.com> Date: Sat, 22 Jul 2023 00:00:58 -0300 Subject: [PATCH] fix conversion of false to array --- inc/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/display.php b/inc/display.php index 8a863648..66e4a37f 100644 --- a/inc/display.php +++ b/inc/display.php @@ -71,7 +71,7 @@ function createBoardlist($mod=false) { ); } -function error($message, $priority = true, $debug_stuff = false) { +function error($message, $priority = true, $debug_stuff = []) { global $board, $mod, $config, $db_error; if ($config['syslog'] && $priority !== false) {