X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-edit_sponsor.php;h=d22020fcbeda8c6e96723c39f620e520df7704f6;hb=1410e014d23f244e73d3a7916a61c2473416bab9;hp=9df887c28295ed3d4158afd22aff862b8d6bcb32;hpb=c92182154b4dcd68c2efff0bf0ff863cabd8d9de;p=mailer.git diff --git a/inc/modules/admin/what-edit_sponsor.php b/inc/modules/admin/what-edit_sponsor.php index 9df887c282..d22020fcbe 100644 --- a/inc/modules/admin/what-edit_sponsor.php +++ b/inc/modules/admin/what-edit_sponsor.php @@ -60,15 +60,6 @@ LIMIT 1", // Load sponsor details $content = SQL_FETCHARRAY($result_main); - // Prepare all data for the template - // Init gender - foreach (array('m', 'f', 'c') as $gender) { - $content['gender_' . $gender] = ''; - } // END - foreach - - // Check for gender selection - $content['gender_' . strtolower($content['gender'])] = ' selected="selected"'; - // Warning because low points $content['receive_warnings'] = addSelectionBox('yn', $content['receive_warnings'], 'receive_warning'); $content['warning_interval'] = createTimeSelections($content['warning_interval'], 'warning_interval', 'MWDh'); @@ -92,7 +83,7 @@ LIMIT 1", // Remember points /reason for the template $content['points'] = $points; - $content['reason'] = secureString(postRequestParameter('reason')); + $content['reason'] = postRequestParameter('reason'); // Send email $message = loadEmailTemplate('sponsor_add_points', $content); @@ -115,7 +106,7 @@ LIMIT 1", // Remember points /reason for the template $content['points'] = $points; - $content['reason'] = secureString(postRequestParameter('reason')); + $content['reason'] = postRequestParameter('reason'); // Send email $message = loadEmailTemplate('sponsor_sub_points', $content);