diff options
author | Evan Prodromou <evan@status.net> | 2009-10-22 16:19:56 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-10-22 16:19:56 -0400 |
commit | 69357c49167679043d36a1ae2df4bf2d117cbcd0 (patch) | |
tree | 1824cd5862c8ea453aaefe69d52b4fcb2f82b425 /lib/location.php | |
parent | 8828bc485f4dcc15be0437ae214a8690634df438 (diff) |
error in order of arguments to array_key_exists in location.php
Diffstat (limited to 'lib/location.php')
-rw-r--r-- | lib/location.php | 2 |
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; |