git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@269 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
nanosimbiot 2011-08-30 08:20:06 +00:00
commit 1d6c5d296e
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -1583,11 +1583,11 @@ function bb_date ($gmepoch, $format = false, $tz = null)
if(is_numeric($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'];
$time_format = " H:i";