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 czaks
parent 56695fbf04
commit b506c0be9f

View File

@ -118,6 +118,7 @@ function error($message, $priority = true, $debug_stuff = false) {
};
if ($debug_stuff)
$debug_stuff = array_filter($debug_stuff, $debug_callback);
die(Element('page.html', array(