Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient).

This commit is contained in:
Michael Foster committed 2013-08-03 22:14:25 -04:00
1 parent 486eccba2e
commit ac4306555b
5 files changed
+97 -13

No files matched your search

+1 -1
View File
@@ -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);
}