Return translation key, not 404, when there is no matching value

This commit is contained in:
ruan 2018-04-19 17:49:03 +02:00
parent 6800b207a9
commit d265020738
No known key found for this signature in database
GPG Key ID: 0D2EC1C52E469C0B

View File

@ -75,7 +75,8 @@ class Page {
if (array_key_exists($str, $this->defaultlang->array)) { if (array_key_exists($str, $this->defaultlang->array)) {
return $this->defaultlang->array[$str]; return $this->defaultlang->array[$str];
} }
return "404"; // return "404";
return $str;
} }
public function type_info($type) { public function type_info($type) {