TimeZone.php
authorleon <leon@roojs.com>
Wed, 4 Oct 2023 02:34:16 +0000 (10:34 +0800)
committerleon <leon@roojs.com>
Wed, 4 Oct 2023 02:34:16 +0000 (10:34 +0800)
TimeZone.php

index 70d4a40..8efd544 100644 (file)
@@ -21,9 +21,7 @@ class Pman_Core_TimeZone extends Pman
         $data = array();
 
         foreach(self::$tiemzones as $tz => $o) {
-            $arr = explode('/', $tz);
-
-            if(!empty($_REQUEST['region']) && $_REQUEST['region'] != $arr[0]) {
+            if(!empty($_REQUEST['region']) && $_REQUEST['region'] != $o['region']) {
                 continue;
             }