From: Evan Prodromou Date: Thu, 22 Oct 2009 20:19:56 +0000 (-0400) Subject: error in order of arguments to array_key_exists in location.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=69357c49167679043d36a1ae2df4bf2d117cbcd0;p=quix0rs-gnu-social.git error in order of arguments to array_key_exists in location.php --- 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;