Index: filefield_paths.module =================================================================== --- filefield_paths.module (revision 3218) +++ filefield_paths.module (working copy) @@ -427,6 +427,10 @@ $function = $module . '_filefield_paths_process_file'; $function(($file['new'] || variable_get("ffp_{$node->type}_{$file['name']}", 0)), $file, $ffp['#settings'][$file['name']], $node, $update); } + + if (module_exists('filefield') && function_exists('_field_file_cache')) { + _field_file_cache($file, TRUE); + } } // Re-write node entry if required. @@ -441,7 +445,7 @@ if (module_exists('content')) { _content_field_invoke_default('update', $node); cache_clear_all('content:'. $node->nid . ':' . $node->vid, content_cache_tablename()); - } + } // Cleanup temporary paths. if ($ffp['#settings']) {