aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-07-23 13:33:55 +0000
committerplegall <plg@piwigo.org>2012-07-23 13:33:55 +0000
commit83cdc8576dc02f0101bb29074bf3afcabe9787d8 (patch)
tree030c58040cc422892bc06acb33251e47a0c23fe6 /admin/include
parent2c41131194046f71646b44c1279baecb1479a6be (diff)
bug 2705 fixed: if the rotation is "0", no rotation is needed, we skip the
rotate function which behaves badly (in ExtIM) with a zero degree rotation. git-svn-id: http://piwigo.org/svn/branches/2.4@16934 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-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);
}