if ($cats > 0) {
$LEAST = false;
- if (IS_FORM_SENT()) {
+ if (isFormSent()) {
$cnt = 0;
foreach (REQUEST_POST('cat') as $cat => $joined) {
if ($joined == 'N') $cnt++;
}
}
- if (IS_FORM_SENT()) {
+ if (isFormSent()) {
foreach (REQUEST_POST('cat') as $cat => $joined) {
switch ($joined) {
case 'Y':
}
} 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"';
}