Skip to content

Commit

Permalink
Fix Wrong Timezone var name
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyq committed Oct 15, 2023
1 parent 8d5bda5 commit 33c1e72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_login.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
$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);
Expand Down

0 comments on commit 33c1e72

Please sign in to comment.