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