diff options
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index dddb6559..97b8c744 100644 --- a/inc/display.php +++ b/inc/display.php @@ -69,7 +69,7 @@ function error($message, $priority = true, $debug_stuff = false) { // Running from CLI die('Error: ' . $message . "\n"); } - + if ($config['debug'] && isset($db_error)) { $debug_stuff = array_combine(array('SQLSTATE', 'Error code', 'Error message'), $db_error); } |
