X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_wernis.php;h=437d1b23196e4d45a378386a5988ab8f3c8eddd7;hb=e51f09bb54eaaf565ac1bae162bf363fc9553ff7;hp=7d5a3ece21568cf7795fa176cf85e81c800ad938;hpb=65f41ecaa6ec63e05d703a0bf91ee6caa8d52ff6;p=mailer.git diff --git a/inc/modules/admin/what-config_wernis.php b/inc/modules/admin/what-config_wernis.php index 7d5a3ece21..437d1b2319 100644 --- a/inc/modules/admin/what-config_wernis.php +++ b/inc/modules/admin/what-config_wernis.php @@ -65,21 +65,8 @@ if (isFormSent()) { displayMessage(GET_WERNIS_ERROR_MESSAGE()); } } else { - // Prepare data for template output - $content = array( - 'wernis_payout_active_y' => '', - 'wernis_payout_active_n' => '', - 'wernis_withdraw_active_y' => '', - 'wernis_withdraw_active_n' => '', - ); - - // Prepare payout Y/N selection - foreach (array('wernis_payout_active', 'wernis_withdraw_active') as $entry) { - $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"'; - } // END - foreach - // Load template - loadTemplate('admin_config_wernis', false, $content); + loadTemplate('admin_config_wernis'); } // [EOF]