summaryrefslogtreecommitdiffstats
path: root/lib/private/preview/svg.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-02-14 11:23:39 +0100
committerGeorg Ehrke <developer@georgehrke.com>2014-02-14 11:23:39 +0100
commitf62f1658ceba6ad02ada0823243d779a698f5f7f (patch)
treed9de8c16f83c393c70402db0b573f36d0c81bdd7 /lib/private/preview/svg.php
parent4b84e3a7e8bf7dc0a8e62074803f97a81571ca22 (diff)
downloadnextcloud-server-f62f1658ceba6ad02ada0823243d779a698f5f7f.tar.gz
nextcloud-server-f62f1658ceba6ad02ada0823243d779a698f5f7f.zip
suppress error msg caused by php bug
Diffstat (limited to 'lib/private/preview/svg.php')
-rw-r--r--lib/private/preview/svg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/svg.php b/lib/private/preview/svg.php
index 07a37e8f8c1..9a73fff9467 100644
--- a/lib/private/preview/svg.php
+++ b/lib/private/preview/svg.php
@@ -7,7 +7,7 @@
*/
namespace OC\Preview;
-if (extension_loaded('imagick') && count(\Imagick::queryFormats("SVG")) === 1) {
+if (extension_loaded('imagick') && count(@\Imagick::queryFormats("SVG")) === 1) {
class SVG extends Provider {