diff options
Diffstat (limited to 'feed.php')
-rw-r--r-- | feed.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -86,7 +86,6 @@ SELECT user_id, } if ($feed_row['user_id']!=$user['id']) { // new user - $user = array(); $user = build_user( $feed_row['user_id'], true ); } } @@ -95,11 +94,13 @@ else $image_only = true; if (!$user['is_the_guest']) {// auto session was created - so switch to guest - $user = array(); $user = build_user( $conf['guest_id'], true ); } } +// Check the status now after the user has been loaded +check_status(ACCESS_GUEST); + list($dbnow) = mysql_fetch_row(pwg_query('SELECT NOW();')); include_once(PHPWG_ROOT_PATH.'include/feedcreator.class.php'); |