Commit 69357c49 authored by Evan Prodromou's avatar Evan Prodromou

error in order of arguments to array_key_exists in location.php

parent 8828bc48
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment