aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-10-18 11:50:51 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-10-18 11:50:51 +0200
commitacabe5a0139057a7c5fb5a6b98cbfa1a06424e2e (patch)
tree54196bb38cdeeb1a4a5789eda4396550da217e53 /phpBB/includes/functions.php
parent6eb061ef0c2ed91e2afcf6447b11d0755d6ef67c (diff)
parent880bace3554370167be705378ebf5b320cb78b16 (diff)
downloadforums-acabe5a0139057a7c5fb5a6b98cbfa1a06424e2e.tar
forums-acabe5a0139057a7c5fb5a6b98cbfa1a06424e2e.tar.gz
forums-acabe5a0139057a7c5fb5a6b98cbfa1a06424e2e.tar.bz2
forums-acabe5a0139057a7c5fb5a6b98cbfa1a06424e2e.tar.xz
forums-acabe5a0139057a7c5fb5a6b98cbfa1a06424e2e.zip
Merge branch 'ticket/rxu/9840' into develop-olympus
* ticket/rxu/9840: [ticket/9840] Display view unread posts link for guests.
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
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',