Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
these 2 clauses below are not enough
$node->$disallowed_field['#access'] = false;
$node->content[$disallowed_field]['#access'] = false;
in function cck_field_perms_nodeapi if a field is in a group.
must have 1 clause like below:
$node->content[$group][$disallowed_field]['#access'] = false;
please print_r($node) for the detail.
Comments
Comment #1
igorzh CreditAttribution: igorzh commentedComment #2
Vidarls CreditAttribution: Vidarls commentedduplicate: http://drupal.org/node/121309