forked from leftypol/leftypol
Fix array_filter error message when debug_stuff is false
This commit is contained in:
parent
eea984859b
commit
073e6bec83
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue