error in order of arguments to array_key_exists in location.php

This commit is contained in:
Evan Prodromou 2009-10-22 16:19:56 -04:00
parent 8828bc485f
commit 69357c4916
1 changed files with 1 additions and 1 deletions

View File

@ -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;