mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r268
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@268 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
da57e12558
commit
357a63b77a
1 changed files with 3 additions and 3 deletions
|
@ -1564,9 +1564,9 @@ function bb_date ($gmepoch, $format = false, $tz = null)
|
||||||
|
|
||||||
if (is_null($tz))
|
if (is_null($tz))
|
||||||
{
|
{
|
||||||
if (!$userdata['session_logged_in'])
|
if (empty($userdata['session_logged_in']))
|
||||||
{
$tz = $userdata['user_timezone'];
}
|
{
$tz = $bb_cfg['board_timezone'];
}
|
||||||
else $tz = $bb_cfg['board_timezone'];
|
else $tz = $userdata['user_timezone'];
|
||||||
}
|
}
|
||||||
if (!$format)
|
if (!$format)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue