]> git.wh0rd.org - tt-rss.git/commitdiff
silence gzdecode() errors
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 23 Mar 2013 05:21:57 +0000 (09:21 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 23 Mar 2013 05:21:57 +0000 (09:21 +0400)
include/functions.php

index 56bc66b6cc5758c17ebd860a6ef09e09e79e9ce4..e57ee6953a2eb85fd3af4e65ddabc41d3ff7ecf3 100644 (file)
@@ -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",
 
                        $data = @file_get_contents($url);
 
-                       $gzdecoded = gzdecode($data);
+                       @$gzdecoded = gzdecode($data);
                        if ($gzdecoded) $data = $gzdecoded;
 
                        if (!$data && function_exists('error_get_last')) {