mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r269
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@269 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
357a63b77a
commit
1d6c5d296e
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue