Index: filefield.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/filefield/filefield.module,v retrieving revision 1.197 diff -u -r1.197 filefield.module --- filefield.module 16 Apr 2009 01:00:59 -0000 1.197 +++ filefield.module 14 May 2009 17:59:44 -0000 @@ -357,6 +357,19 @@ } /** + * Implementation of CCK's hook_content_diff_values(). + */ +function filefield_content_diff_values($node, $field, $items) { + $return = array(); + foreach ($items as $item) { + if (is_array($item) && !empty($item['filepath'])) { + $return[] = $item['filepath']; + } + } + return $return; +} + +/** * Implementation of CCK's hook_default_value(). * * Note this is a widget-level hook, so it does not affect ImageField or other