mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-17 21:39:27 +01:00
Fix array_filter error message when debug_stuff is false
This commit is contained in:
parent
56695fbf04
commit
b506c0be9f
@ -118,7 +118,8 @@ function error($message, $priority = true, $debug_stuff = false) {
|
||||
};
|
||||
|
||||
|
||||
$debug_stuff = array_filter($debug_stuff, $debug_callback);
|
||||
if ($debug_stuff)
|
||||
$debug_stuff = array_filter($debug_stuff, $debug_callback);
|
||||
|
||||
die(Element('page.html', array(
|
||||
'config' => $config,
|
||||
|
Loading…
x
Reference in New Issue
Block a user