fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / member / what-surfbar_list.php
index 48b0f136c47ec3074c555b9a288598143b97162f..b096222d07aeb3dcbe6f4affcebb78b5008e12da 100644 (file)
@@ -55,11 +55,11 @@ if ((!isExtensionActive('surfbar')) && (!isAdmin())) {
 $URLs = SURFBAR_GET_USER_URLS();
 
 // Are there entries or form is submitted?
-if ((isFormSent()) && (isPostRequestElementSet(('action'))) && (isPostRequestElementSet('id'))) {
+if ((isFormSent()) && (isPostRequestParameterSet(('action'))) && (isPostRequestParameterSet('id'))) {
        // Process the form
        if (SURFBAR_MEMBER_DO_FORM(postRequestArray(), $URLs)) {
                // Action performed but shall we display it?
-               if (((postRequestElement('action') != 'edit') && (postRequestElement('action') != "delete")) || (isPostRequestElementSet(('execute')))) {
+               if (((postRequestParameter('action') != 'edit') && (postRequestParameter('action') != "delete")) || (isPostRequestParameterSet(('execute')))) {
                        // Display "action done" message if action is wether 'edit' nor 'delete' or has been executed
                        loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SURFBAR_ACTION_DONE'));
                } // END - if