aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-11-08 19:29:20 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-11-08 19:29:20 +0000
commita484161be2733c5b2f51df681cd4f7e2a77c1176 (patch)
tree7b4e603905111dea4a29b59b88e0b5b6c12b2c1b /phpBB/includes/functions.php
parent8a965db7aa17af5db4ea6ab7c970cb2a5d21bc86 (diff)
downloadforums-a484161be2733c5b2f51df681cd4f7e2a77c1176.tar
forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.tar.gz
forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.tar.bz2
forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.tar.xz
forums-a484161be2733c5b2f51df681cd4f7e2a77c1176.zip
- tiny bugfixes. ;)
git-svn-id: file:///svn/phpbb/trunk@5296 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 75174dadee..dadad76e91 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1744,8 +1744,8 @@ function page_header($page_title = '')
$l_privmsgs_text = $l_privmsgs_text_unread = '';
$s_privmsg_new = false;
- // Obtain number of new private messages if user is logged in, not if in trigger_error
- if (!defined('IN_ERROR_HANDLER') && $user->data['is_registered'])
+ // Obtain number of new private messages if user is logged in
+ if ($user->data['is_registered'])
{
if ($user->data['user_new_privmsg'])
{