1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Fix array_filter error message when debug_stuff is false

This commit is contained in:
8chan 2014-05-27 23:44:49 +00:00 committed by Fredrick Brennan
parent eea984859b
commit 073e6bec83

View File

@ -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,