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