浏览代码

Update check_auth.php

FusionPBX 8 年之前
父节点
当前提交
aa3ea6ee32
共有 1 个文件被更改,包括 1 次插入0 次删除
  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']);