]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_sponsor.php
Continued:
[mailer.git] / inc / modules / admin / what-list_sponsor.php
index 3184a790f70eeffb1b8d2601425a9906d4390b38..ca6488743674bc0df580081b45cf77b469055e05 100644 (file)
@@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__);
 if (isGetRequestElementSet('id')) {
        // Show detailed informations to a sponsor
        $result = sqlQueryEscaped("SELECT
-       `company`, `position`, `gender`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
+       `company`, `position`, `sex`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
        `phone`, `fax`, `cell`, `email`, `url`, `tax_ident`,
        `status`,
        UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
@@ -101,7 +101,7 @@ WHERE
                // Sponsor found so let's list all his referrals
                $result = sqlQueryEscaped("SELECT
        `id`,
-       `gender`,
+       `sex`,
        `surname`,
        `family`,
        `email`,
@@ -135,7 +135,7 @@ ORDER BY
 } else {
        // List all sponsors
        $result_main = sqlQuery("SELECT
-       `id`, `gender`, `surname`, `family`, `email`, `status`,
+       `id`, `sex`, `surname`, `family`, `email`, `status`,
        UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
        UNIX_TIMESTAMP(`last_online`) AS `last_online`,
        `points_amount`, `points_used`,