summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-23 09:21:57 +0400
committerAndrew Dolgov <[email protected]>2013-03-23 09:21:57 +0400
commit9e7f1f12f4a54addc907cc9406c93bd1de40ea24 (patch)
treefa35c3474e0eaaa32eeb494ee673841376e8a3ec
parent68fb3c955a93cfd06690dfb9c81de2fc2ffcf9f6 (diff)
silence gzdecode() errors
-rw-r--r--include/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 56bc66b6c..e57ee6953 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')) {