Skip to content

Commit

Permalink
bug:2496
Browse files Browse the repository at this point in the history
Imagick library (class version) is not detected properly on some servers 

git-svn-id: http://piwigo.org/svn/trunk@12581 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
patdenice committed Nov 7, 2011
1 parent 31689ae commit bbe62b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/include/image.class.php
Expand Up @@ -260,7 +260,7 @@ private function get_resize_result($destination_filepath, $width, $height, $time

static function is_imagick()
{
return extension_loaded('imagick');
return (extension_loaded('imagick') and class_exists('Imagick'));
}

static function is_ext_imagick()
Expand Down

0 comments on commit bbe62b6

Please sign in to comment.