$ret['content'] = ts('Are you sure you want to disable this ACL?');
break;
- case 'CRM_ACL_BAO_EntityRole':
+ case 'CRM_ACL_BAO_ACLEntityRole':
$ret['content'] = ts('Are you sure you want to disable this ACL Role Assignment?');
break;
}
}
else {
- $hasChildTags = empty($childTagIDs[$dao->id]) ? FALSE : TRUE;
+ $hasChildTags = !empty($childTagIDs[$dao->id]);
$usedFor = (array) explode(',', $dao->used_for);
$tag = [
'id' => $dao->id,