projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5eb74c
)
TimeZone.php
author
leon
<leon@roojs.com>
Wed, 4 Oct 2023 02:34:16 +0000
(10:34 +0800)
committer
leon
<leon@roojs.com>
Wed, 4 Oct 2023 02:34:16 +0000
(10:34 +0800)
TimeZone.php
patch
|
blob
|
history
diff --git
a/TimeZone.php
b/TimeZone.php
index
70d4a40
..
8efd544
100644
(file)
--- a/
TimeZone.php
+++ b/
TimeZone.php
@@
-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;
}