Extension ext-earning introduced (unfinished), renamings:
[mailer.git] / inc / modules / member / what-list_surfbar.php
index 13175c53193c71a02069cc74348a2724cb1c5381..9955f44c1669149172efe159c5c3e100146b2fe9 100644 (file)
@@ -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