In filefield.inc, the function filefield_filefield_paths_get_fields() is unsetting $file['data']['process'] if it's an array. But that value does not always exist - an apparent example is an empty File field. This produces a PHP error notice:

Notice: Undefined index: process in filefield_filefield_paths_get_fields() (line 62 of /path/to/filefield_paths/modules/filefield.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brad.bulger’s picture

Add a test that the key exists before checking if its value is an array.

fprevos2’s picture

Issue summary: View changes
Status: Active » Needs review

The patch works for me.

Deciphered’s picture

Status: Needs review » Closed (won't fix)

No longer supporting Drupal 6 issues for this module.