aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions_upload.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php
index a0bcf34fe..eeec315d4 100644
--- a/admin/include/functions_upload.inc.php
+++ b/admin/include/functions_upload.inc.php
@@ -794,7 +794,7 @@ function add_upload_error($upload_id, $error_message)
function is_imagick()
{
- if (extension_loaded('imagick'))
+ if (class_exists('Imagick'))
{
return true;
}