X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fuser_functions.php;h=bab177e564f7fb57ab7477956abd346ac5c92f08;hp=e5ecb1b7a8a507063b73b15c9d88e3e8ac6d68d0;hb=a954ccdf4aba81ec0e75a1836aa4bc14cb245aba;hpb=8f60465485bd5e9ab2c0ddfa1f054458cf510042 diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index e5ecb1b7a8..bab177e564 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -378,14 +378,14 @@ function USER_DO_LOGIN ($uid, $passwd) { $ERROR = GEN_ERROR_CODE_FROM_ACCOUNT_STATUS($status); } else { // ID not found! - $ERROR = CODE_WRONG_ID; + $ERROR = constant('CODE_WRONG_ID'); } // Construct URL $URL = "modules.php?module=index&what=login&login=".$ERROR; } else { // ID not found! - $URL = "modules.php?module=index&what=login&login=".CODE_WRONG_ID; + $URL = "modules.php?module=index&what=login&login=".constant('CODE_WRONG_ID'); } // Return URL @@ -417,7 +417,7 @@ function USER_DO_NEW_PASSWORD ($email, $uid) { } else { // Userid not set! DEBUG_LOG(__FUNCTION__, __LINE__, "Userid is not set! BUG!"); - $ERROR = CODE_WRONG_ID; + $ERROR = constant('CODE_WRONG_ID'); } // Any entry found?