silence gzdecode() errors

This commit is contained in:
Andrew Dolgov 2013-03-23 09:21:57 +04:00
parent 68fb3c955a
commit 9e7f1f12f4
1 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@
$data = @file_get_contents($url);
$gzdecoded = gzdecode($data);
@$gzdecoded = gzdecode($data);
if ($gzdecoded) $data = $gzdecoded;
if (!$data && function_exists('error_get_last')) {