From 521324230d66f04bebb1196bb6c238d4d5ae161b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 13 Jul 2011 11:12:41 +0000 Subject: [PATCH] 'guest' may come when e.g. ext-nickname is not installed but a template requested the user's nickname --- inc/wrapper-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 87e0a3d01c..4e235f5017 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -1064,8 +1064,8 @@ function getFetchedUserData ($keyColumn, $userid, $valueColumn) { //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'keyColumn=' . $keyColumn . ',userid=' . $userid . ',valueColumn=' . $valueColumn . ' - ENTERED!'); // Is it cached? if (!isset($GLOBALS[__FUNCTION__][$userid][$keyColumn][$valueColumn])) { - // Default is 'guest' - $data = '{--USERNAME_GUEST--}'; + // Default is NULL + $data = NULL; // Can we fetch the user data? if ((isValidUserId($userid)) && (fetchUserData($userid, $keyColumn))) { -- 2.39.5