diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-03 22:14:25 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-03 22:14:25 -0400 |
| commit | ac4306555bf3bce78401918e23b81e863fcd37fb (patch) | |
| tree | 00353f9c36c6fea15399d9baa1def40dd346876e /inc/display.php | |
| parent | 486eccba2e99888ebc4be77af52b1df54a4645ef (diff) | |
Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient).
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); } |
