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`
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--}');