From 69357c49167679043d36a1ae2df4bf2d117cbcd0 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 22 Oct 2009 16:19:56 -0400 Subject: error in order of arguments to array_key_exists in location.php --- lib/location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/location.php') 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; -- cgit v1.2.3-54-g00ecf