mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
multisize - avoid php warning for rotation_angle; better error logging; javascript avoid navigation to empty # anchor
git-svn-id: http://piwigo.org/svn/trunk@15551 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -275,7 +275,7 @@ class pwg_image
|
||||
|
||||
static function get_rotation_angle_from_code($rotation_code)
|
||||
{
|
||||
switch($rotation_code)
|
||||
switch($rotation_code%4)
|
||||
{
|
||||
case 0: return 0;
|
||||
case 1: return 90;
|
||||
@@ -623,7 +623,7 @@ class image_ext_imagick implements imageInterface
|
||||
ilog($exec);
|
||||
if (is_array($returnarray) && (count($returnarray)>0) )
|
||||
{
|
||||
ilog($returnarray);
|
||||
ilog('ERROR', $returnarray);
|
||||
}
|
||||
return is_array($returnarray);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user