From: Roland Häder Date: Tue, 5 Jun 2012 15:50:06 +0000 (+0000) Subject: fetchUserStatus()-s return value was not handled, which causes possible login errors... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9fbc2edf3488f6a1e7e0e46a4b6471068fd8db37;p=mailer.git fetchUserStatus()-s return value was not handled, which causes possible login errors ('Unknown account status occured' or so) with nickname, login with user id is not affected by this bug --- diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index 2a4bc4f03f..63fb9f9bc3 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -279,7 +279,7 @@ function doUserLogin ($userid, $passwd, $successUrl = '', $errorUrl = 'modules.p // Check login data if ((isExtensionActive('nickname')) && (isNicknameUsed($userid))) { // Nickname entered - fetchUserData($userid, 'nickname'); + $isFound = fetchUserData($userid, 'nickname'); } elseif (isNicknameUsed($userid)) { // No nickname installed $errorCode = getCode('EXTENSION_PROBLEM');