From 0aa41d0927443c36121c811dd6776701f4e212bb Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 8 Dec 2020 13:22:46 +0200 Subject: [PATCH] Corrected config set for language in parent controller --- application/core/EA_Controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/EA_Controller.php b/application/core/EA_Controller.php index 0614971e..7c8c1921 100644 --- a/application/core/EA_Controller.php +++ b/application/core/EA_Controller.php @@ -69,13 +69,13 @@ class EA_Controller extends CI_Controller { } /** - * Configure the language + * Configure the language. */ private function configure_language() { if ($this->session->has_userdata('language')) { - $this->config->set_item('language'); + $this->config->set_item('language', $this->session->userdata('language')); } $this->lang->load('translations');