From 0d1e2c2a92e19fc6544c44c1362d9e2685211aee Mon Sep 17 00:00:00 2001 From: leon Date: Tue, 3 Oct 2023 13:37:26 +0800 Subject: [PATCH] TimeZone.php --- TimeZone.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TimeZone.php b/TimeZone.php index 29094202..b0e2b7fa 100644 --- a/TimeZone.php +++ b/TimeZone.php @@ -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], -- 2.39.2