git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@267 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
nanosimbiot 2011-08-30 04:02:23 +00:00
commit da57e12558
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
// Increase number of revision after update // Increase number of revision after update
$bb_cfg['tp_version'] = '2.1 Stable'; $bb_cfg['tp_version'] = '2.1 Stable';
$bb_cfg['tp_release_state'] = 'R264'; $bb_cfg['tp_release_state'] = 'R267';
$bb_cfg['tp_release_date'] = '30-08-2011'; $bb_cfg['tp_release_date'] = '30-08-2011';
// Database // Database

View file

@ -1564,7 +1564,7 @@ function bb_date ($gmepoch, $format = false, $tz = null)
if (is_null($tz)) if (is_null($tz))
{ {
if(!IS_GUEST) if (!$userdata['session_logged_in'])
{ $tz = $userdata['user_timezone']; } { $tz = $userdata['user_timezone']; }
else $tz = $bb_cfg['board_timezone']; else $tz = $bb_cfg['board_timezone'];
} }
@ -1583,7 +1583,7 @@ function bb_date ($gmepoch, $format = false, $tz = null)
if(is_numeric($tz)) if(is_numeric($tz))
{ {
if(!IS_GUEST) if (!$userdata['session_logged_in'])
{ {
$tz = $userdata['user_timezone']; $tz = $userdata['user_timezone'];
} }