From c1171bc716caac62de8a7517b3aedece6516f94a Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Wed, 4 Oct 2023 12:20:44 +0200 Subject: [PATCH] add user_language to FHC_JS_DATA_STORAGE_OBJECT --- application/helpers/hlp_header_helper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/helpers/hlp_header_helper.php b/application/helpers/hlp_header_helper.php index 05bba48c4..ea1795ad5 100644 --- a/application/helpers/hlp_header_helper.php +++ b/application/helpers/hlp_header_helper.php @@ -96,7 +96,8 @@ function generateJSDataStorageObject($indexPage, $calledPath, $calledMethod) app_root: "'.APP_ROOT.'", ci_router: "'.$indexPage.'", called_path: "'.$calledPath.'", - called_method: "'.$calledMethod.'" + called_method: "'.$calledMethod.'", + user_language: "'.$user_language.'" };'; $toPrint .= "\n"; $toPrint .= '';