aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/image.class.php5
1 files changed, 5 insertions, 0 deletions
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;