]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-edit_sponsor.php
Continued:
[mailer.git] / inc / modules / admin / what-edit_sponsor.php
index 92004c780d4b78f67accfda553cbe3fdabc20414..455d3c7fa6d727b5283671bfe514e70a0e6404ce 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -46,7 +46,7 @@ addYouAreHereLink('admin', __FILE__);
 if ((isGetRequestElementSet('id')) && (isGetRequestElementSet('do'))) {
        // Check for selected sponsor
        $result_main = sqlQueryEscaped("SELECT
-       `id`, `company`, `position`, `gender`, `surname`, `family`,
+       `id`, `company`, `position`, `sex`, `surname`, `family`,
        `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
        `phone`, `fax`, `cell`, `email`, `url`, `tax_ident`,
        `receive_warnings`, `warning_interval`
@@ -138,7 +138,7 @@ LIMIT 1",
                                        handleSponsorRequest(postRequestArray());
 
                                        // Convert some data for the email template
-                                       postRequestElement('gender'          , '{%pipe,translateGender=' . postRequestElement('gender') . '%}');
+                                       postRequestElement('sex'          , '{%pipe,translateSex=' . postRequestElement('sex') . '%}');
                                        postRequestElement('warning_interval', '{%pipe,createFancyTime=' . postRequestElement('warning_interval') . '%}');
 
                                        if ($PASS === FALSE) setPostRequestElement('password1', '{--SPONSOR_PASS_UNCHANGED--}');