error in order of arguments to array_key_exists in location.php
This commit is contained in:
parent
8828bc485f
commit
69357c4916
|
@ -146,7 +146,7 @@ class Location
|
|||
$language = common_language();
|
||||
}
|
||||
|
||||
if (array_key_exists($this->names, $language)) {
|
||||
if (array_key_exists($language, $this->names)) {
|
||||
return $this->names[$language];
|
||||
} else {
|
||||
$name = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user