mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-01 04:25:46 +01:00
Fix array_filter error message when debug_stuff is false
This commit is contained in:
parent
be0e9cd741
commit
b5a5c491ab
@ -118,6 +118,7 @@ function error($message, $priority = true, $debug_stuff = false) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
if ($debug_stuff)
|
||||||
$debug_stuff = array_filter($debug_stuff, $debug_callback);
|
$debug_stuff = array_filter($debug_stuff, $debug_callback);
|
||||||
|
|
||||||
die(Element('page.html', array(
|
die(Element('page.html', array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user