diff options
author | rxu <rxu@mail.ru> | 2010-10-16 20:46:38 +0800 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2010-10-16 20:46:38 +0800 |
commit | 880bace3554370167be705378ebf5b320cb78b16 (patch) | |
tree | 0a04898be6e1a46b3ec81a5a833132e3769a05ac /phpBB/includes | |
parent | b8f37a5024c3fbda51c76f3990e6dd2059892837 (diff) | |
download | forums-880bace3554370167be705378ebf5b320cb78b16.tar forums-880bace3554370167be705378ebf5b320cb78b16.tar.gz forums-880bace3554370167be705378ebf5b320cb78b16.tar.bz2 forums-880bace3554370167be705378ebf5b320cb78b16.tar.xz forums-880bace3554370167be705378ebf5b320cb78b16.zip |
[ticket/9840] Display view unread posts link for guests.
Display view unread posts link for guests if applicable.
PHPBB3-9840
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 9aec98dce2..e154aa44b0 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4466,7 +4466,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 'S_ENABLE_FEEDS_TOPICS_ACTIVE' => ($config['feed_topics_active']) ? true : false, 'S_ENABLE_FEEDS_NEWS' => ($s_feed_news) ? true : false, - 'S_LOAD_UNREADS' => ($config['load_unreads_search']) ? true : false, + 'S_LOAD_UNREADS' => ($config['load_unreads_search'] && ($config['load_anon_lastread'] || $user->data['is_registered'])) ? true : false, 'T_THEME_PATH' => "{$web_path}styles/" . $user->theme['theme_path'] . '/theme', 'T_TEMPLATE_PATH' => "{$web_path}styles/" . $user->theme['template_path'] . '/template', |