]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-admins_mails.php
Encapsulation and fixes:
[mailer.git] / inc / modules / admin / what-admins_mails.php
index 86f906e6ab447431090b4b7ce84185a14778ecf3..8afbb9aef92509d1ba40428cfd38ca77187bcfd8 100644 (file)
@@ -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 *
@@ -44,7 +45,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
 
-if (isPostRequestParameterSet('edit')) {
+if (isFormSent('edit')) {
        // Check if entires are checked
        if (countPostSelection() > 0) {
                // Add option for events
@@ -121,7 +122,7 @@ ORDER BY
 
        if (SQL_NUMROWS($result) > 0) {
                // Shall I change entries?
-               if (isPostRequestParameterSet('change')) {
+               if (isFormSent('change')) {
                        // Init SQLs
                        initSqls();