From 1eaa59d192920aae72797d8534ea96436dcd4bd9 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 14 Dec 2021 07:51:26 +0100 Subject: [PATCH] Corrected the js_config helper function --- application/helpers/config_helper.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/helpers/config_helper.php b/application/helpers/config_helper.php index 23a80155..11ec2ff3 100644 --- a/application/helpers/config_helper.php +++ b/application/helpers/config_helper.php @@ -94,6 +94,8 @@ if ( ! function_exists('js_config')) $js_config[$item] = $value; } + config(['js_config' => $js_config]); + return NULL; }