]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_register2.php
AJAX installation is 'basicly finished' :) Plus I threw in a small christmas present...
[mailer.git] / inc / modules / admin / what-config_register2.php
index 340d36aeb4bd2d933be1fd0973ef9ca6d298160c..30aac7adc97c09e8739ce415dc3c33771ed2065b 100644 (file)
@@ -45,7 +45,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (isFormSent()) {
+if (isFormSent('save_config')) {
        // Calculate timestamp from selections...
        setPostRequestElement('ip_timeout', createEpocheTimeFromSelections('ip_timeout', postRequestArray()));
        setPostRequestElement('least_cats', round(postRequestElement('least_cats')));
@@ -61,7 +61,7 @@ if (isFormSent()) {
        $content['register_generate_password_empty'] = addSelectionBox('yn', getRegisterGeneratePasswordEmpty(), 'register_generate_password_empty');
 
        // Load normal template
-       loadTemplate('admin_config_register2', false, $content);
+       loadTemplate('admin_config_register2', FALSE, $content);
 }
 
 // [EOF]