]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-del_user.php
Encapsulation and fixes:
[mailer.git] / inc / modules / admin / what-del_user.php
index 6fdc06eabbab21fcc784ab26704defad1ce075a1..d533515a6a066a16b828254a3c4bcf0ced5f0aa7 100644 (file)
@@ -46,7 +46,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // User exists..
-if ((isFormSent()) || ((isPostRequestParameterSet('del')) && (isPostRequestParameterSet(('reason'))))) {
+if ((isFormSent()) || ((isFormSent('del')) && (isPostRequestParameterSet(('reason'))))) {
        // Is the account there?
        if (fetchUserData(getRequestParameter('userid'))) {
                // Delete user account