]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_doubler.php
Use rebuildCache() instead of loadCacheFile()/removeCacheFile()
[mailer.git] / inc / modules / admin / what-config_doubler.php
index d207c70492f3f87ef2bf4fa67015c794887ecebd..53b3cee7524c88cb860470efac3fd9cba5840092 100644 (file)
@@ -43,7 +43,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (isFormSent()) {
+if (isFormSent('save_config')) {
        // Replace german decimal comma with computer decimal dot
        convertCommaToDotInPostDataArray(array('doubler_charge', 'doubler_ref', 'doubler_min', 'doubler_max', 'doubler_left'));
 
@@ -61,7 +61,7 @@ if (isFormSent()) {
        } // END - foreach
 
        // Transfer options
-       $content['doubler_userid'] = addMemberSelectionBox(getConfig('doubler_userid'), false, true, true, 'doubler_userid');
+       $content['doubler_userid'] = addMemberSelectionBox(getDoublerUserid(), FALSE, TRUE, TRUE, 'doubler_userid');
 
        // Number of rows to display (option lines!!!)
        foreach (array('new','pay','old') as $entry) {
@@ -92,7 +92,7 @@ if (isFormSent()) {
        $content['timeout_selection'] = createConfigurationTimeSelections('doubler_timeout', 'WDh');
 
        // Load template
-       loadTemplate('admin_config_doubler', false, $content);
+       loadTemplate('admin_config_doubler', FALSE, $content);
 }
 
 // [EOF]