summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-22 16:19:56 -0400
committerEvan Prodromou <evan@status.net>2009-10-22 16:19:56 -0400
commit69357c49167679043d36a1ae2df4bf2d117cbcd0 (patch)
tree1824cd5862c8ea453aaefe69d52b4fcb2f82b425 /lib
parent8828bc485f4dcc15be0437ae214a8690634df438 (diff)
error in order of arguments to array_key_exists in location.php
Diffstat (limited to 'lib')
-rw-r--r--lib/location.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/location.php b/lib/location.php
index 5b7f47102..048554f0f 100644
--- a/lib/location.php
+++ b/lib/location.php
@@ -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;