From ac4306555bf3bce78401918e23b81e863fcd37fb Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sat, 3 Aug 2013 22:14:25 -0400 Subject: Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient). --- inc/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/display.php') 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); } -- cgit v1.3