]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/account.php
Listing of coupons rewritten to more clear
[mailer.git] / inc / modules / sponsor / account.php
index b5680854fc51774c6d66ec28a146533bcb24bb50..bfe20c20ce2c39cc7f9857db3d629f3b9047b3c8 100644 (file)
@@ -49,10 +49,10 @@ if (!defined('__SECURITY')) {
 
 // Data for the formular
 $result = SQL_QUERY_ESC("SELECT
-       `id`, `company`, `position`, `tax_ident`,
-       `gender`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
-       `phone`, `fax`, `cell`, `email`, `url`,
-       `status`, `receive_warnings`
+       `id`,`company`,`position`,`tax_ident`,
+       `gender`,`surname`,`family`,`street_nr1`,`street_nr2`,`zip`,`city`,`country`,
+       `phone`,`fax`,`cell`,`email`,`url`,
+       `status`,`receive_warnings`
 FROM
        `{?_MYSQL_PREFIX?}_sponsor_data`
 WHERE
@@ -129,8 +129,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