Browse Source

Update check_auth.php

FusionPBX 8 years ago
parent
commit
aa3ea6ee32
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/check_auth.php

+ 1 - 0
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']);