- 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\"";
+ if (GET_TOTAL_DATA($UID, "user_cats", "id", 'userid', true, sprintf(" AND cat_id=%s", bigintval($content['id']))) == 1) {
+ $content['jn'] = '';
+ $content['jy'] = ' chkecked="checked"';