diff --git a/admin/include/image.class.php b/admin/include/image.class.php index 499fcbbea..410a2dd05 100644 --- a/admin/include/image.class.php +++ b/admin/include/image.class.php @@ -559,6 +559,11 @@ class image_ext_imagick implements imageInterface function rotate($rotation) { + if (empty($rotation)) + { + return true; + } + if ($rotation==90 || $rotation==270) { $tmp = $this->width;