From 9e7f1f12f4a54addc907cc9406c93bd1de40ea24 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 23 Mar 2013 09:21:57 +0400 Subject: [PATCH] silence gzdecode() errors --- include/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')) { -- 2.39.5