X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=mailid.php;h=fcb310d01b8b4b8c744f3a8be48a575fab4d3f6c;hp=09b03ff3831477d70e5e0845e9e86e19c967a4be;hb=831c60d4cec333ea95e0ce23d9e53fd5d8133ce6;hpb=b56eadb18a023f4d2d712e8936b4dc1ad31fd580 diff --git a/mailid.php b/mailid.php index 09b03ff383..fcb310d01b 100644 --- a/mailid.php +++ b/mailid.php @@ -111,8 +111,13 @@ if (isBooleanConstantAndTrue('mxchange_installed')) if (SQL_NUMROWS($result) == 1) { // Load data list($pool, $URL, $EXTRA_TITLE) = SQL_FETCHROW($result); + + // Free result SQL_FREERESULT($result); + // Compile extra title + $EXTRA_TITLE = COMPILE_CODE($EXTRA_TITLE); + // Is the user's ID unlocked? $result = SQL_QUERY_ESC("SELECT status, gender, surname, family FROM "._MYSQL_PREFIX."_user_data WHERE userid=%s LIMIT 1", array($url_uid), __FILE__, __LINE__); @@ -206,6 +211,10 @@ if (isBooleanConstantAndTrue('mxchange_installed')) case "REJECT": // Redirect to rejection page LOAD_URL($_CONFIG['reject_url']); break; + + default: + LOAD_URL("modules.php?module=index&msg=".CODE_UNKNOWN_STATUS."&ext=mailid"); + break; } } else { // Include footer