From da57e12558aa12bf4c797e8eff6b263db5939070 Mon Sep 17 00:00:00 2001 From: nanosimbiot Date: Tue, 30 Aug 2011 04:02:23 +0000 Subject: [PATCH] r267 git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@267 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/config.php | 2 +- upload/includes/functions.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/upload/config.php b/upload/config.php index 06c0a0fcb..d99eba2c5 100644 --- a/upload/config.php +++ b/upload/config.php @@ -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'] = 'R264'; +$bb_cfg['tp_release_state'] = 'R267'; $bb_cfg['tp_release_date'] = '30-08-2011'; // Database diff --git a/upload/includes/functions.php b/upload/includes/functions.php index 32522d5d9..6efc269db 100644 --- a/upload/includes/functions.php +++ b/upload/includes/functions.php @@ -1564,7 +1564,7 @@ function bb_date ($gmepoch, $format = false, $tz = null) if (is_null($tz)) { - if(!IS_GUEST) + if (!$userdata['session_logged_in']) { $tz = $userdata['user_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_GUEST) + if (!$userdata['session_logged_in']) { $tz = $userdata['user_timezone']; }