mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update index_data.php
This commit is contained in:
parent
ba28da3951
commit
30854b3482
@ -80,9 +80,8 @@ switch($mode)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'change_tz':
|
case 'change_tz':
|
||||||
$tz = (int) $this->request['tz'];
|
$tz = (float) $this->request['tz'];
|
||||||
if ($tz < -12) $tz = -12;
|
|
||||||
if ($tz > 13) $tz = 13;
|
|
||||||
if ($tz != $bb_cfg['board_timezone'])
|
if ($tz != $bb_cfg['board_timezone'])
|
||||||
{
|
{
|
||||||
// Set current user timezone
|
// Set current user timezone
|
||||||
|
Loading…
Reference in New Issue
Block a user