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...
| Comment | File | Size | Author |
|---|---|---|---|
| buildmode-nodeisset.patch | 582 bytes | bleen |
Comments
Comment #1
Anonymous (not verified) commentedThe 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.