diff options
-rw-r--r-- | admin/include/image.class.php | 2 |
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); } |