X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_wernis.php;h=b26d5e94c6ba240138bf4624696f7923a99d3d18;hp=db31390b5cd75432aa09119ca9e5b2148e4e3fea;hb=19b197c32c96ce8eea26561fb7b40e87c57716ae;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e diff --git a/inc/modules/admin/what-config_wernis.php b/inc/modules/admin/what-config_wernis.php index db31390b5c..b26d5e94c6 100644 --- a/inc/modules/admin/what-config_wernis.php +++ b/inc/modules/admin/what-config_wernis.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -39,7 +40,7 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { die(); -} +} // END - if // Add description as navigation point addMenuDescription('admin', __FILE__); @@ -52,12 +53,12 @@ if (isFormSent()) { if (WERNIS_TEST_API()) { // Revert german commata foreach (array('payout_factor', 'withdraw_factor', 'payout_fee_percent', 'withdraw_fee_percent') as $revert) { - setRequestPostElement('wernis_' . $revert, postRequestElement('wernis_' . $revert)); + setPostRequestParameter('wernis_' . $revert, postRequestParameter('wernis_' . $revert)); } // END - if // Hash the password and remove clear-text - setRequestPostElement('wernis_pass_md5', md5(postRequestElement('wernis_pass'))); - unsetPostRequestElement('wernis_pass'); + setPostRequestParameter('wernis_pass_md5', md5(postRequestParameter('wernis_pass'))); + unsetPostRequestParameter('wernis_pass'); // Save settings adminSaveSettingsFromPostData();