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.
when using the CCK Blocks module I get the following notice:
notice: Undefined property: stdClass::$build_mode in sites/all/modules/cck/modules/text/text.module on line 175.
the attached patch prevents the notice to be fired.
Comment | File | Size | Author |
---|---|---|---|
cck_undefined_build_mode.patch | 962 bytes | scor |
Comments
Comment #1
yched CreditAttribution: yched commentedI think that as of D6, a $node being rendered without a $node->build_mode might be considered as a bug.
I committed a check to prevent the warnings.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.