aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/image.class.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/image.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/image.class.php b/admin/include/image.class.php
index 463abe39e..499fcbbea 100644
--- a/admin/include/image.class.php
+++ b/admin/include/image.class.php
@@ -133,7 +133,7 @@ class pwg_image
$this->image->resize($resize_dimensions['width'], $resize_dimensions['height']);
- if (isset($rotation))
+ if (!empty($rotation))
{
$this->image->rotate($rotation);
}