After upgrading to new version of FileField nodule (3.3) I get error:
Fatal error: Call to undefined function patch_manager_content_is_empty() in /path/to/drupal/sites/all/modules/cck/content.module on line 906
I get that error when I save node type with CCK fields.

Comments

aidanlis’s picture

That's odd ... can you add this function to patchmanager.module and see if it solves the problem?

/**
* Implementation of hook_content_is_empty().
*/
patch_manager_content_is_empty($item, $field) {
if (empty($item['value']) && (string)$item['value'] !== '0') {
return TRUE;
}
return FALSE;
}

zarudnyi’s picture

Status: Active » Fixed

Yes, that work nice! Thank You a lot!

aidanlis’s picture

Status: Fixed » Reviewed & tested by the community
aidanlis’s picture

Status: Reviewed & tested by the community » Closed (fixed)