]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-unlock_sponsor.php
More complete rewrite to use wrapper function isExtensionInstalledAndNewer(), some...
[mailer.git] / inc / modules / admin / what-unlock_sponsor.php
index c78f24e4ad0b20d9dbd2d3da63247f2aa22d4e47..280246d77615a2d012eb2a571fde8238210c22b2 100644 (file)
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -47,9 +48,9 @@ addMenuDescription('admin', __FILE__);
 // Check if admin has submitted form
 if (isFormSent()) {
        // Does he have selected at least one sponsor?
-       if (countSelection(postRequestElement('id')) > 0) {
+       if (countSelection(postRequestParameter('id')) > 0) {
                // At least one entry selected
-               foreach (postRequestElement('id') as $id => $selected) {
+               foreach (postRequestParameter('id') as $id => $selected) {
                        // Secure id number and init $content
                        $content = array(
                                'id'    => bigintval($id),