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

View File

@ -146,7 +146,7 @@ class Location
$language = common_language(); $language = common_language();
} }
if (array_key_exists($this->names, $language)) { if (array_key_exists($language, $this->names)) {
return $this->names[$language]; return $this->names[$language];
} else { } else {
$name = null; $name = null;