We had a content type that uses cckrand, which doesn't have cckrand_content_is_empty implemented, so it was throwing a white screen of death.

Turns out the error was on line 920 of content.module - it calls

$filtered[] = $function($item, $field)) ? $empty : $item;

So I patched it to call:

$filtered[] = (function_exists($function) && $function($item, $field)) ? $empty : $item;

which fixes our issue.

CommentFileSizeAuthor
#1 add-function-exists-check-1364214.patch551 bytesmeyian
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

meyian’s picture

meyian’s picture

Version: 6.x-3.0-alpha3 » 6.x-3.x-dev
Status: Patch (to be ported) » Needs review
markdorison’s picture

This makes sense to me.