From d2650207382a8a5e5040ae27c89b4003b2190a74 Mon Sep 17 00:00:00 2001 From: ruan Date: Thu, 19 Apr 2018 17:49:03 +0200 Subject: [PATCH] Return translation key, not 404, when there is no matching value --- inc/page.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/page.php b/inc/page.php index 213032f..188954f 100644 --- a/inc/page.php +++ b/inc/page.php @@ -75,7 +75,8 @@ class Page { if (array_key_exists($str, $this->defaultlang->array)) { return $this->defaultlang->array[$str]; } - return "404"; +// return "404"; + return $str; } public function type_info($type) {