]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_user.php
Fixed also usage of previously renamed fields as they must be the same
[mailer.git] / inc / modules / admin / what-config_user.php
index a46218bacd7b9aeede4b5852239d34143557afa0..29b349fb81f248b00b582c41b6909b3cabe8d7b1 100644 (file)
@@ -43,12 +43,12 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (isFormSent()) {
+if (isFormSent('save_config')) {
        // Save settings
        adminSaveSettingsFromPostData();
 } else {
        // Prepare gender selection box
-       $content['tester_user_gender_selection'] = generateGenderSelectionBox(getConfig('tester_user_gender'), 'tester_user_gender');
+       $content['tester_user_gender_selection'] = generateGenderSelectionBox(getTesterUserGender(), 'tester_user_gender');
 
        // Load form template
        loadTemplate('admin_config_user', FALSE, $content);