From f62f1658ceba6ad02ada0823243d779a698f5f7f Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Fri, 14 Feb 2014 11:23:39 +0100 Subject: suppress error msg caused by php bug --- lib/private/preview/svg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/preview/svg.php') 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 { -- cgit v1.2.3