]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-categories.php
New wrapper functions enableBlockMode() and isBlockModeEnabled() introduced
[mailer.git] / inc / modules / member / what-categories.php
index 34beb1f902228748529fdd1c96b815934bf88374..c74bf25aa40a1c2044bec35b0733a6dee19cd252 100644 (file)
@@ -56,7 +56,7 @@ $cats = SQL_NUMROWS($result);
 
 if ($cats > 0) {
        $LEAST = false;
-       if (IS_FORM_SENT()) {
+       if (isFormSent()) {
                $cnt = 0;
                foreach (REQUEST_POST('cat') as $cat => $joined) {
                        if ($joined == 'N') $cnt++;
@@ -68,7 +68,7 @@ if ($cats > 0) {
                }
        }
 
-       if (IS_FORM_SENT()) {
+       if (isFormSent()) {
                foreach (REQUEST_POST('cat') as $cat => $joined) {
                        switch ($joined) {
                                case 'Y':
@@ -125,7 +125,7 @@ if ($cats > 0) {
                                }
                        } else {
                                // Check if he has an entry
-                               if (GET_TOTAL_DATA($UID, "user_cats", "id", 'userid', true, sprintf(" AND cat_id=%s", bigintval($content['id']))) == 1) {
+                               if (GET_TOTAL_DATA($UID, "user_cats", 'id', 'userid', true, sprintf(" AND cat_id=%s", bigintval($content['id']))) == 1) {
                                        $content['jn'] = '';
                                        $content['jy'] = ' checked="checked"';
                                }