]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/settings.php
Listing of coupons rewritten to more clear
[mailer.git] / inc / modules / sponsor / settings.php
index 673718a23ed35399d5757654a301ee096a98e852..cee56805ac8464803531cf8fd26ef741e74e81a4 100644 (file)
@@ -52,7 +52,7 @@ $message = '';
 
 // Data for the formular
 $result = SQL_QUERY_ESC("SELECT
-       `status`, `receive_warnings`, `warning_interval`, `email`, `surname`, `family`, `gender`
+       `status`,`receive_warnings`,`warning_interval`,`email`,`surname`,`family`,`gender`
 FROM
        `{?_MYSQL_PREFIX?}_sponsor_data`
 WHERE
@@ -115,8 +115,7 @@ if (SQL_NUMROWS($result) == 1) {
                }
        } else {
                // Locked or so?
-               $STATUS = sponsorTranslateUserStatus($content['status']);
-               $GLOBALS['sponsor_output'] = displayMessage('{%message,SPONSOR_ACCOUNT_FAILED=' . $STATUS . '%}', true);
+               $GLOBALS['sponsor_output'] = displayMessage('{%message,SPONSOR_ACCOUNT_FAILED=' . $content['status'] . '%}', true);
        }
 } else {
        // Sponsor account not found