mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added @ to avoid notices generated
This commit is contained in:
@@ -83,7 +83,7 @@ function _get_reader($domain=null, $category=5, $enable_cache=true) {
|
|||||||
."(\.([-A-Za-z0-9_]))?" // charset
|
."(\.([-A-Za-z0-9_]))?" // charset
|
||||||
."(@([-A-Za-z0-9_]+))?/", // @ modifier
|
."(@([-A-Za-z0-9_]+))?/", // @ modifier
|
||||||
$locale, $matches)) {
|
$locale, $matches)) {
|
||||||
list(,$lang,,$country,,$charset,,$modifier) = $matches;
|
@list(,$lang,,$country,,$charset,,$modifier) = $matches;
|
||||||
if ($modifier) {
|
if ($modifier) {
|
||||||
$locale_names = array("${lang}_$country.$charset@$modifier",
|
$locale_names = array("${lang}_$country.$charset@$modifier",
|
||||||
"${lang}_$country@$modifier",
|
"${lang}_$country@$modifier",
|
||||||
|
|||||||
Reference in New Issue
Block a user