]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-categories.php
Fix
[mailer.git] / inc / modules / member / what-categories.php
index 228c699b4a89133fcf4d44608e63dfa3491c01b7..bc0a4213626dafb222e25f354a47ec72f8cf395b 100644 (file)
@@ -56,12 +56,12 @@ if ($cats > 0) {
        $LEAST = false;
        if (isFormSent()) {
                $cnt = '0';
-               foreach (postRequestElement('cat') as $cat => $joined) {
+               foreach (postRequestParameter('cat') as $cat => $joined) {
                        if ($joined != 'Y') $cnt++;
                } // END - foreach
 
                if (($cats - $cnt) < getConfig('least_cats')) {
-                       unsetPostRequestElement('ok');
+                       unsetPostRequestParameter('ok');
                        $LEAST = true;
                } // END - if
        } // END - if
@@ -72,7 +72,7 @@ if ($cats > 0) {
                $cnt = '0';
 
                // Go through all entries
-               foreach (postRequestElement('cat') as $cat => $joined) {
+               foreach (postRequestParameter('cat') as $cat => $joined) {
                        // Ini sql here
                        $sql = '';
 
@@ -133,9 +133,9 @@ if ($cats > 0) {
                        $content['jy'] = '';
 
                        // When we found an entry don't read it, just change the jx elements
-                       if (isPostRequestElementSet(('cat'))) {
+                       if (isPostRequestParameterSet(('cat'))) {
                                // Form sent?
-                               if (postRequestElement('cat', $content['id']) =='Y') {
+                               if (postRequestParameter('cat', $content['id']) =='Y') {
                                        $content['jy'] = ' checked="checked"';
                                        $content['jn'] = '';
                                }