From 52ab0bb76754732bd772157124d040e5d6b96fa1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 11 Dec 2016 22:19:02 -0700 Subject: [PATCH] Update check_auth.php --- resources/check_auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/check_auth.php b/resources/check_auth.php index d042a53e29..88349b96f9 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -240,6 +240,7 @@ } //set the time zone + if (!isset($_SESSION["time_zone"]["user"])) { $_SESSION["time_zone"]["user"] = null; } if (strlen($_SESSION["time_zone"]["user"]) == 0) { //set the domain time zone as the default time zone date_default_timezone_set($_SESSION['domain']['time_zone']['name']);