fix conversion of false to array

This commit is contained in:
fowr 2023-07-22 00:00:58 -03:00 committed by Zankaria
parent 519dd27221
commit ba2daa88e6

View File

@ -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) {