From 33c1e72dcc2c5690f4daae8a755eeacf4f1cd2a2 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 15 Oct 2023 12:15:48 -0400 Subject: [PATCH] Fix Wrong Timezone var name --- check_login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_login.php b/check_login.php index 4549c857..1fd847a3 100644 --- a/check_login.php +++ b/check_login.php @@ -52,10 +52,10 @@ $session_company_name = $row['company_name']; $session_company_country = $row['company_country']; $session_company_locale = $row['company_locale']; $session_company_currency = $row['company_currency']; -$session_timezone = $row['settings_timezone']; +$session_timezone = $row['config_timezone']; // Set Timezone to the companies timezone -date_default_timezone_set('$session_timezone'); +date_default_timezone_set($session_timezone); //Set Currency Format $currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY);