]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/account.php
Fix for double-included file
[mailer.git] / inc / modules / sponsor / account.php
index 25a03a9e38ab95f426aba90f77966e69c96e2e1b..5032c961bc6423b21766435de6d89763d65c2785 100644 (file)
@@ -88,7 +88,7 @@ if (SQL_NUMROWS($result) == 1) {
                                }
 
                                // Unsecure data which we don't want here
-                               $UNSAFE = array('receive_warnings', 'warning_interval');
+                                       $UNSAFE = array('receive_warnings', 'warning_interval');
 
                                // Remove all (maybe spoofed) unsafe data from array
                                foreach ($UNSAFE as $remove) {
@@ -114,21 +114,21 @@ if (SQL_NUMROWS($result) == 1) {
                        switch ($content['gender'])
                        {
                        case "M": // Male
-                               define('__GENDER_M', " selected");
+                               define('__GENDER_M', " selected=\"selected\"");
                                define('__GENDER_F', "");
                                define('__GENDER_C', "");
                                break;
 
                        case "F": // Female
                                define('__GENDER_M', "");
-                               define('__GENDER_F', " selected");
+                               define('__GENDER_F', " selected=\"selected\"");
                                define('__GENDER_C', "");
                                break;
 
                        case "C": // Company
                                define('__GENDER_M', "");
                                define('__GENDER_F', "");
-                               define('__GENDER_C', " selected");
+                               define('__GENDER_C', " selected=\"selected\"");
                                break;
                        }