mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-09 15:27:32 +00:00
Return translation key, not 404, when there is no matching value
This commit is contained in:
parent
6800b207a9
commit
d265020738
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user