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
This commit is contained in:
parent
2c41131194
commit
83cdc8576d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue