]> git.mxchange.org Git - mailer.git/blobdiff - beg.php
Parser error fixed
[mailer.git] / beg.php
diff --git a/beg.php b/beg.php
index 531e8dbf719f7ce74c7bece01ae1c64896fad504..f76da26f194e0a9a8b0721ec9ce240b7c9f41015 100644 (file)
--- a/beg.php
+++ b/beg.php
@@ -208,10 +208,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                        require_once(PATH."inc/footer.php");
                } elseif (($status != "CONFIRMED") && ($status != "failed")) {
                        // Maybe locked/unconfirmed account?
-                       switch ($status) {
-                               case "LOCKED"     : $msg = CODE_ID_LOCKED     ; break; // Locked account
-                               case "UNCONFIRMED": $msg = CODE_ID_UNCONFIRMED; break; // Unconfirmed account
-                       }
+                       $msg = GEN_ERROR_CODE_FROM_ACCOUNT_STATUS($status);
                } elseif (($uid == "0") || ($status == "failed")) {
                        // Inalid or locked account, so let's find out
                        $result = SQL_QUERY_ESC("SELECT userid FROM `"._MYSQL_PREFIX."_user_data` WHERE nickname='%s' LIMIT 1",
@@ -238,7 +235,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                LOAD_URL("modules.php?module=index");
        }
 } else {
-       // You have to configure first!
+       // You have to install first!
        LOAD_URL("install.php");
 }