From 69357c49167679043d36a1ae2df4bf2d117cbcd0 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 22 Oct 2009 16:19:56 -0400 Subject: [PATCH] error in order of arguments to array_key_exists in location.php --- lib/location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/location.php b/lib/location.php index 5b7f47102f..048554f0f7 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;