From: Andrew Dolgov Date: Sat, 23 Mar 2013 05:21:57 +0000 (+0400) Subject: silence gzdecode() errors X-Git-Tag: 1.7.5~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9e7f1f12f4a54addc907cc9406c93bd1de40ea24;p=tt-rss.git silence gzdecode() errors --- diff --git a/include/functions.php b/include/functions.php index 56bc66b6..e57ee695 100644 --- a/include/functions.php +++ b/include/functions.php @@ -54,7 +54,7 @@ "ja_JP" => "日本語 (Japanese)", "lv_LV" => "Latviešu", "nb_NO" => "Norwegian bokmål", - "nl_NL" => "Dutch", + "nl_NL" => "Dutch", "pl_PL" => "Polski", "ru_RU" => "Русский", "pt_BR" => "Portuguese/Brazil", @@ -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')) {