diff options
author | plegall <plg@piwigo.org> | 2012-07-23 13:52:32 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-07-23 13:52:32 +0000 |
commit | e23052b963daa6a08cd039643e91f3bb25f04940 (patch) | |
tree | 1a920dc26eacf6e4bca22ff1a1cd1d0b37da2a7f | |
parent | 9a4a9d846e6bd74a61d1ab390ea4deb3224f4170 (diff) |
merge r16934 from branch 2.4 to trunk
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/trunk@16936 68402e56-0260-453c-a942-63ccdbb3a9ee
-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); } |