]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_birthday.php
SQL fixed, generateRandomCode() improved (is now generating better numbers)
[mailer.git] / inc / modules / admin / what-config_birthday.php
index 73206717aa2967258d15c2565615b62361e33aac..83c2c54b49181c2632c8208f760154ad4d2f2773 100644 (file)
@@ -47,14 +47,14 @@ if (isFormSent()) {
        // Save configuration
        adminSaveSettingsFromPostData();
 } else {
-       // Init all other templates
-       foreach (array('active_y','active_n','mode_direct','mode_ref') as $entry) {
+       // Init all other template entries
+       foreach (array('active_y','active_n') as $entry) {
                $content[$entry] = '';
        } // END - foreach
 
        // Set current selections
-       foreach (array('active','mode') as $entry) {
-               $content[$entry . '_' . strtolower(getConfig('birthday_' . $entry))] = ' checked="checked"';
+       foreach (array('active') as $entry) {
+               $content['birthday_' . $entry . '_' . strtolower(getConfig('birthday_' . $entry))] = ' checked="checked"';
        } // END - foreach
 
        // Display form