X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_coupon.php;h=b1737a4d65c073a79b2ea2bacce50ce5c94345f1;hb=8cab12aa2bd0bd1de03a377b37cd42faae64b0e1;hp=dc549151333d654c14d6f94ff937054039b815ae;hpb=e78eede1b3ad977f89c45effc9a4ef1275d90214;p=mailer.git diff --git a/inc/modules/admin/what-config_coupon.php b/inc/modules/admin/what-config_coupon.php index dc54915133..b1737a4d65 100644 --- a/inc/modules/admin/what-config_coupon.php +++ b/inc/modules/admin/what-config_coupon.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -43,7 +43,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addYouAreHereLink('admin', __FILE__); -if (isFormSent()) { +if (isFormSent('save_config')) { // Replace German comma with computer's version convertCommaToDotInPostData('coupon_default_points'); @@ -51,14 +51,14 @@ if (isFormSent()) { adminSaveSettingsFromPostData(); } else { // Add userid selection - $content['coupon_userid'] = addMemberSelectionBox(getCouponUserid(), false, true, true, 'coupon_userid'); + $content['coupon_userid'] = addMemberSelectionBox(getCouponUserid(), FALSE, TRUE, TRUE, 'coupon_userid'); // Prepare some template data $content['coupon_default_time_selection'] = createConfigurationTimeSelections('coupon_default_time' , 'WDh'); $content['coupon_autopurge_time_selection'] = createConfigurationTimeSelections('coupon_autopurge_time', 'WDh'); // Load template - loadTemplate('admin_config_coupon', false, $content); + loadTemplate('admin_config_coupon', FALSE, $content); } // [EOF]