diff options
Diffstat (limited to 'lib/private/preview/pdf.php')
-rw-r--r-- | lib/private/preview/pdf.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/pdf.php b/lib/private/preview/pdf.php index cc974b68818..572b8788ac9 100644 --- a/lib/private/preview/pdf.php +++ b/lib/private/preview/pdf.php @@ -7,7 +7,7 @@ */ namespace OC\Preview; -if (extension_loaded('imagick')) { +if (extension_loaded('imagick') && count(\Imagick::queryFormats("PDF")) === 1) { class PDF extends Provider { |