]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-unlock_surfbar_urls.php
This wasn't the fix...
[mailer.git] / inc / modules / admin / what-unlock_surfbar_urls.php
index 104e443f0fdbfa0404a5db7385c61ed2df668781..52ee49a71757c2328c7a18c60db3849332d6c184 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/08/2008 *
- * ================                             Last change: 09/08/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 09/08/2008 *
+ * ===================                          Last change: 09/08/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-unlock_surfbar_urls.php                     *
@@ -45,18 +45,18 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // Is the form sent?
-if ((isPostRequestElementSet(('unlock'))) && (is_array(postRequestElement('id'))) && (count(postRequestElement('id')) > 0)) {
+if ((isPostRequestParameterSet('unlock')) && (is_array(postRequestParameter('id'))) && (count(postRequestParameter('id')) > 0)) {
        // Unlock selected URLs
-       if (SURFBAR_ADMIN_UNLOCK_URL_IDS(postRequestElement('id'))) {
+       if (SURFBAR_ADMIN_UNLOCK_URL_IDS(postRequestParameter('id'))) {
                // Unlock done! :-)
                loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SURFBAR_UNLOCK_DONE'));
        } else {
                // Unlock failed!
                loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SURFBAR_UNLOCK_FAILED'));
        }
-} elseif ((isPostRequestElementSet(('reject'))) && (is_array(postRequestElement('id'))) && (count(postRequestElement('id')) > 0)) {
+} elseif ((isPostRequestParameterSet(('reject'))) && (is_array(postRequestParameter('id'))) && (count(postRequestParameter('id')) > 0)) {
        // Reject selected URLs
-       if (SURFBAR_ADMIN_REJECT_URL_IDS(postRequestElement('id'))) {
+       if (SURFBAR_ADMIN_REJECT_URL_IDS(postRequestParameter('id'))) {
                // Unlock done! :-)
                loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SURFBAR_UNLOCK_DONE'));
        } else {