diff options
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index dd8b1444..4e8ab8fb 100644 --- a/inc/display.php +++ b/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, |
