Browse Source

Fix array_filter error message when debug_stuff is false

pull/40/head
8chan 10 years ago
committed by Fredrick Brennan
parent
commit
073e6bec83
  1. 3
      inc/display.php

3
inc/display.php

@ -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…
Cancel
Save