$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