forked from GithubBackups/vichan
fix conversion of false to array
This commit is contained in:
parent
519dd27221
commit
ba2daa88e6
@ -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;
|
global $board, $mod, $config, $db_error;
|
||||||
|
|
||||||
if ($config['syslog'] && $priority !== false) {
|
if ($config['syslog'] && $priority !== false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user