From eb743c2f9b392d881383d8c6cef0c0f30d6e9853 Mon Sep 17 00:00:00 2001 From: azammitdcarf Date: Wed, 22 Dec 2010 04:48:24 +0000 Subject: [PATCH] Added @ to avoid notices generated --- include/php-gettext-1.0.9/gettext.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/php-gettext-1.0.9/gettext.inc b/include/php-gettext-1.0.9/gettext.inc index 0911a05a..5d7390e2 100644 --- a/include/php-gettext-1.0.9/gettext.inc +++ b/include/php-gettext-1.0.9/gettext.inc @@ -83,7 +83,7 @@ function _get_reader($domain=null, $category=5, $enable_cache=true) { ."(\.([-A-Za-z0-9_]))?" // charset ."(@([-A-Za-z0-9_]+))?/", // @ modifier $locale, $matches)) { - list(,$lang,,$country,,$charset,,$modifier) = $matches; + @list(,$lang,,$country,,$charset,,$modifier) = $matches; if ($modifier) { $locale_names = array("${lang}_$country.$charset@$modifier", "${lang}_$country@$modifier",