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.

CommentFileSizeAuthor
cck_undefined_build_mode.patch962 bytesscor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yched’s picture

Status: Active » Fixed

I 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.