aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/page_header.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php
index 3635e71f1f..a73d3fd648 100644
--- a/phpBB/includes/page_header.php
+++ b/phpBB/includes/page_header.php
@@ -347,14 +347,16 @@ if( !$userdata['session_logged_in'] )
{
$template->assign_block_vars("switch_user_logged_out", array());
- if( $userdata['user_popup_pm'] )
- {
- $template->assign_block_vars("switch_enable_pm_popup", array());
- }
}
else
{
$template->assign_block_vars("switch_user_logged_in", array());
+
+ if( $userdata['user_popup_pm'] )
+ {
+ $template->assign_block_vars("switch_enable_pm_popup", array());
+ }
+
}
header ("Cache-Control: no-store, no-cache, must-revalidate");