]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_order.php
Fixes saving of settings, inconsistency fixed in config entries
[mailer.git] / inc / modules / admin / what-config_order.php
index ca821658bc2b3e24df1c38697fcb9a6ebfa423da..2b349bb58ea82a7c234f0679b609c9d84789ab93 100644 (file)
@@ -49,12 +49,12 @@ if (isFormSent()) {
        adminSaveSettingsFromPostData();
 } else {
        // Init all selection entries
-       foreach (array('order_max_full_order', 'order_max_full_max', 'order_mode_asc', 'order_mode_desc', 'test_text_y', 'test_text_n', 'test_subj_y', 'test_subj_n', 'url_blacklist_y', 'url_blacklist_n', 'repay_deleted_mails_repay', 'repay_deleted_mails_jackpot', 'repay_deleted_mails_shred') as $entry) {
+       foreach (array('order_max_full_order', 'order_max_full_max', 'order_mode_asc', 'order_mode_desc', 'allow_url_in_text_y', 'allow_url_in_text_n', 'allow_url_in_subject_y', 'allow_url_in_subject_n', 'url_blacklist_y', 'url_blacklist_n', 'repay_deleted_mails_repay', 'repay_deleted_mails_jackpot', 'repay_deleted_mails_shred') as $entry) {
                $content[$entry] = '';
        } // END - foreach
 
        // Set all default checks
-       foreach (array('order_max_full', 'order_mode', 'test_text', 'test_subj', 'url_blacklist') as $entry) {
+       foreach (array('order_max_full', 'order_mode', 'allow_url_in_text', 'allow_url_in_subject', 'url_blacklist') as $entry) {
                $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"';
        } // END - foreach