From fa276ef4b4b12230e35c171d7b46c358e1c20a1f 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']);