X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_coupon.php;h=cfd0aa9bf82fad33edbc968bd0d41c67d74d19aa;hb=cc59ea1cce3e0fafc2cc6c9e36142698cf2b58ef;hp=36118680ad409a554b917d4524ce62f56d4d5f33;hpb=5c4d360166de238420eec3e5f4e694befb09ab5d;p=mailer.git diff --git a/inc/modules/admin/what-config_coupon.php b/inc/modules/admin/what-config_coupon.php index 36118680ad..cfd0aa9bf8 100644 --- a/inc/modules/admin/what-config_coupon.php +++ b/inc/modules/admin/what-config_coupon.php @@ -53,16 +53,6 @@ if (isFormSent()) { // Add userid selection $content['coupon_userid'] = addMemberSelectionBox(getConfig('coupon_userid'), false, true, true, 'coupon_userid'); - // Init all other template entries - foreach (array('payment_method_ref', 'payment_method_direct', 'points_account_order', 'points_account_general', 'locked_points_mode_locked', 'locked_points_mode_unlocked') as $entry) { - $content['coupon_' . $entry] = ''; - } // END - foreach - - // Set current selections - foreach (array('payment_method', 'points_account', 'locked_points_mode') as $entry) { - $content['coupon_' . $entry . '_' . strtolower(getConfig('coupon_' . $entry))] = ' checked="checked"'; - } // END - foreach - // Prepare some template data $content['coupon_default_time_selection'] = createConfigurationTimeSelections('coupon_default_time' , 'WDh'); $content['coupon_autopurge_time_selection'] = createConfigurationTimeSelections('coupon_autopurge_time', 'WDh');