diff options
| author | czaks <marcin@6irc.net> | 2013-08-03 22:18:46 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-03 22:18:46 -0400 |
| commit | f128811dd339c721b71956dea3c4798b6ef9438a (patch) | |
| tree | 00dc194e5593899ffec0fb1caa1fa451eef70c0f /inc/display.php | |
| parent | ddcad35f6ca434c8082e29db9ad92daab385a6ef (diff) | |
| parent | de62cced6fe1b7b158be34f1cc4d53d7527518b2 (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
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 f00cf937..18eeb1f6 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); } |
