X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_other.php;h=4af2d9f5bc4e02e31733684045c1e3086fd3d299;hb=e5dde615db05fb62ebe91bd1c030f40c9b91fe17;hp=c17d617305e8e647a504ec3ec3b6456bfab920be;hpb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;p=mailer.git diff --git a/inc/modules/admin/what-config_other.php b/inc/modules/admin/what-config_other.php index c17d617305..4af2d9f5bc 100644 --- a/inc/modules/admin/what-config_other.php +++ b/inc/modules/admin/what-config_other.php @@ -1,7 +1,7 @@ 0 or your database will crow and crow and crow... - if (!isPostRequestElementSet('online_timeout')) { unsetPostRequestElement('ok'); } + if (!isPostRequestParameterSet('online_timeout')) { unsetPostRequestParameter('ok'); } // Chedck other timestamps (which can be zero!) - if (!isPostRequestElementSet('profile_lock')) { unsetPostRequestElement('ok'); } - if (!isPostRequestElementSet('url_tlock')) { unsetPostRequestElement('ok'); } - if (!isPostRequestElementSet('profile_update')) { unsetPostRequestElement('ok'); } - if (!isPostRequestElementSet('resend_profile_update')) { unsetPostRequestElement('ok'); } + if (!isPostRequestParameterSet('profile_lock')) { unsetPostRequestParameter('ok'); } + if (!isPostRequestParameterSet('url_tlock')) { unsetPostRequestParameter('ok'); } + if (!isPostRequestParameterSet('profile_update')) { unsetPostRequestParameter('ok'); } + if (!isPostRequestParameterSet('resend_profile_update')) { unsetPostRequestParameter('ok'); } // Check other settings - if (!isPostRequestElementSet('max_send')) { unsetPostRequestElement('ok'); } - if (!isPostRequestElementSet('code_length')) { unsetPostRequestElement('ok'); } - if (!isPostRequestElementSet('reject_url')) { unsetPostRequestElement('ok'); } + if (!isPostRequestParameterSet('max_send')) { unsetPostRequestParameter('ok'); } + if (!isPostRequestParameterSet('code_length')) { unsetPostRequestParameter('ok'); } + if (!isPostRequestParameterSet('reject_url')) { unsetPostRequestParameter('ok'); } } if (isFormSent()) { @@ -86,7 +87,7 @@ if (isFormSent()) { $content['profile_reupdate'] = createTimeSelections(getConfig('resend_profile_update') , 'resend_profile_update', 'MWD'); // Prepare more Y/N selections - foreach(array('show_points_unconfirmed','show_timings','youre_here','member_menu','guest_menu','order_multi_page','autosend_active','send_prof_update','admin_notify','display_debug_sqls') as $entry) { + foreach(array('show_points_unconfirmed','show_timings','youre_here','member_menu','guest_menu','order_multi_page','autosend_active','send_prof_update','admin_notify','display_debug_sqls','stats_enabled') as $entry) { $content[$entry . '_y'] = ''; $content[$entry . '_n'] = ''; $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"';