TimeZone.php
authorleon <leon@roojs.com>
Tue, 3 Oct 2023 05:37:26 +0000 (13:37 +0800)
committerleon <leon@roojs.com>
Tue, 3 Oct 2023 05:37:26 +0000 (13:37 +0800)
TimeZone.php

index 2909420..b0e2b7f 100644 (file)
@@ -27,7 +27,8 @@ class Pman_Core_TimeZone extends Pman
                 continue;
             }
 
-            if(!empty($_REQUEST['query']['area_start'])){
+            if(!empty($_REQUEST['query']['area_start']) && substr($arr[1], 0, strlen($_REQUEST['query']['area_start'])) != $_REQUEST['query']['area_start']){
+                continue;
             }
             $data[] = array(
                 'region' => $arr[0],