diff options
Diffstat (limited to 'admin/include/image.class.php')
-rw-r--r-- | admin/include/image.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/include/image.class.php b/admin/include/image.class.php index 8ab6d9384..97875b796 100644 --- a/admin/include/image.class.php +++ b/admin/include/image.class.php @@ -275,7 +275,7 @@ class pwg_image static function get_rotation_angle_from_code($rotation_code) { - switch($rotation_code) + switch($rotation_code%4) { case 0: return 0; case 1: return 90; @@ -623,7 +623,7 @@ class image_ext_imagick implements imageInterface ilog($exec); if (is_array($returnarray) && (count($returnarray)>0) ) { - ilog($returnarray); + ilog('ERROR', $returnarray); } return is_array($returnarray); } |