X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fuser_functions.php;h=ca86a9b5f88182e50c2ba16fd2ad19bf97755b92;hp=af1e552320412fe79659b800254069069e156db7;hb=0715fa7aa8e5e70bcf1d957fb09ae655c3896c4e;hpb=e45e218c4f629ec63f0788cab231bfc88b3fa46e diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index af1e552320..ca86a9b5f8 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -334,7 +334,7 @@ function doUserLogin ($userid, $passwd, $successUrl = '', $errorUrl = 'modules.p if ((isExtensionInstalledAndNewer('bonus', '0.3.5')) && (getConfig('bonus_mode') != 'ADD')) handleBonusPoints('login_bonus'); } // END - if - // @TODO Make this filter working: $URL = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON)); + // @TODO Make this filter working: $url = runFilterChain('do_login', array('content' => $content, 'addon' => $ADDON)); // Set member id setMemberId($userid); @@ -351,14 +351,14 @@ function doUserLogin ($userid, $passwd, $successUrl = '', $errorUrl = 'modules.p // Procedure to checking for login data if (($GLOBALS['bonus_payed'] === true) && (isExtensionActive('bonus'))) { // Bonus added (just displaying!) - $URL = 'modules.php?module=chk_login&mode=bonus'; + $url = 'modules.php?module=chk_login&mode=bonus'; } else { // Bonus not added - $URL = 'modules.php?module=chk_login&mode=login'; + $url = 'modules.php?module=chk_login&mode=login'; } } else { // Use this URL - $URL = $successUrl; + $url = $successUrl; } } else { // Cannot update counter! @@ -393,14 +393,14 @@ function doUserLogin ($userid, $passwd, $successUrl = '', $errorUrl = 'modules.p // Error code provided? if ($errorCode > 0) { // Then reconstruct the URL - $URL = $errorUrl . $errorCode; + $url = $errorUrl . $errorCode; // Extension set? Then add it as well. - if (!empty($ext)) $URL .= '&ext=' . $ext; + if (!empty($ext)) $url .= '&ext=' . $ext; } // END - if // Return URL - return $URL; + return $url; } // Try to send a new password for the given user account