@-silence an Imagick call that causes a warning in PHP 5.4.

props DH-Shredder. fixes #24539.

git-svn-id: http://core.svn.wordpress.org/trunk@24568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2013-07-05 18:43:45 +00:00
parent 98ff20d1d4
commit cc3bd4bca1
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
return false;
try {
return ( (bool) Imagick::queryFormats( $imagick_extension ) );
return ( (bool) @Imagick::queryFormats( $imagick_extension ) );
}
catch ( Exception $e ) {
return false;