diff options
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 8c7c9d85d..847a52b87 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -4,7 +4,6 @@ // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) // | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ @@ -165,7 +164,7 @@ trigger_action('loading_lang'); // only now we can set the localized username of the guest user (and not in // include/user.inc.php) -if ($user['is_the_guest']) +if (is_a_guest()) { $user['username'] = $lang['guest']; } |