]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-list_surfbar.php
Same thing fixed, but without the opps ...
[mailer.git] / inc / modules / member / what-list_surfbar.php
index 13175c53193c71a02069cc74348a2724cb1c5381..39c79cbbba3fe4135af8533020514800152f3ac5 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -54,11 +54,11 @@ if ((!isExtensionActive('surfbar')) && (!isAdmin())) {
 $urlArray = SURFBAR_GET_USER_URLS();
 
 // Are there entries or form is submitted?
-if ((isFormSent()) && (isPostRequestParameterSet('action')) && (isPostRequestParameterSet('id'))) {
+if ((isFormSent()) && (isPostRequestElementSet('action')) && (isPostRequestElementSet('id'))) {
        // Process the form
        if (SURFBAR_MEMBER_DO_FORM(postRequestArray(), $urlArray)) {
                // Action performed but shall we display it?
-               if (((postRequestParameter('action') != 'edit') && (postRequestParameter('action') != 'delete')) || (isPostRequestParameterSet('execute'))) {
+               if (((postRequestElement('action') != 'edit') && (postRequestElement('action') != 'delete')) || (isPostRequestElementSet('execute'))) {
                        // Display "action done" message if action is wether 'edit' nor 'delete' or has been executed
                        displayMessage('{--MEMBER_SURFBAR_ACTION_DONE--}');
                } // END - if