mirror of
https://github.com/zyx0814/dzzoffice.git
synced 2025-01-08 11:57:57 +08:00
修复用户资料相关bug
This commit is contained in:
parent
03a1f592d5
commit
137d3cc3a3
@ -66,7 +66,7 @@ if (submitcheck('profilesubmit')) {
|
||||
continue;
|
||||
} elseif ($key == 'timeoffset') {
|
||||
if ($value >= -12 && $value <= 12 || $value == 9999) {
|
||||
C::t('user')->update($_G['uid'], array('language' => trim($value)));
|
||||
C::t('user')->update($_G['uid'], array('timeoffset' => intval($value)));
|
||||
}
|
||||
} elseif ($key == 'language') {
|
||||
$langList = $_G['config']['output']['language_list'];
|
||||
|
Loading…
Reference in New Issue
Block a user