]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Member area section 'referal links' refactured:
[mailer.git] / inc / functions.php
index ad6274eb2e55316f7536b78fd9c03c0fb880784a..c9713ce1d5fd66a45fa239b2bac3a85076347b1b 100644 (file)
@@ -1104,10 +1104,10 @@ function generateErrorCodeFromUserStatus ($status = '') {
        } // END - if
 
        // Default error code if unknown account status
-       $errorCode = getCode('ACCOUNT_STATUS_UNKNOWN');
+       $errorCode = getCode('ACCOUNT_UNKNOWN');
 
        // Generate constant name
-       $codeName = sprintf("ACCOUNT_STATUS_%s", strtoupper($status));
+       $codeName = sprintf("ACCOUNT_%s", strtoupper($status));
 
        // Is the constant there?
        if (isCodeSet($codeName)) {