]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-edit_sponsor.php
Fixed name inconsistency
[mailer.git] / inc / modules / admin / what-edit_sponsor.php
index d4e519a238b3a0f72806df1ef4f8749f37ef9d28..27b3978a2112c8bc9a38ed928e0b70cc22ce8db5 100644 (file)
@@ -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');
@@ -138,7 +129,7 @@ LIMIT 1",
 
                                        // Convert time selection
                                        $DATA = array(); $id = 'warning_interval_ye'; $skip = false;
-                                       convertSelectionsToTimestamp(postRequestArray(), $DATA, $id, $skip);
+                                       convertSelectionsToEpocheTime(postRequestArray(), $DATA, $id, $skip);
 
                                        // Save the sponsor
                                        handleSponsorRequest(postRequestArray());