diff options
| author | czaks <marcin@6irc.net> | 2014-05-28 15:37:36 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-05-28 15:37:36 +0200 |
| commit | c04b4196394b68a1a2105ebc8011460826f56c34 (patch) | |
| tree | 0283abd6757a8994c943b2fcf3daa0bf61be7fe2 /inc/display.php | |
| parent | 3ba152e0a194aaf3dae82dbcf33f4ceaa07c4d2d (diff) | |
| parent | 073e6bec83982456454a8e9bf06cfae23fc0e690 (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard
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 ab2daeb6..e5ce1da1 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, |
