]> git.mxchange.org Git - mailer.git/commitdiff
fetchUserStatus()-s return value was not handled, which causes possible login errors...
authorRoland Häder <roland@mxchange.org>
Tue, 5 Jun 2012 15:50:06 +0000 (15:50 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 5 Jun 2012 15:50:06 +0000 (15:50 +0000)
inc/libs/user_functions.php

index 2a4bc4f03f3f0d79ef6bef8299953a058feb76c7..63fb9f9bc3448756091091e86c7225a246fc1417 100644 (file)
@@ -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');