When using migration module (for example) $vars['node'] is not always set when buildmodes_preprocess_content_field() is called. This patch provides a quick check to make sure that node exists...

CommentFileSizeAuthor
buildmode-nodeisset.patch582 bytesbleen

Comments

Anonymous’s picture

Status: Needs review » Fixed

The problem is that CCK does not name its preprocess function correctly.

This patch is not needed. You should apply the patch at #728472: Misnamed preprocessor functions. Or you should raise the weight of build modes in the system table, but the correct fix is the patch to CCK.

Status: Fixed » Closed (fixed)

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