With E_NOTIFY turned on I get a report of undefined $available. It is in fact undefined and is either an error or code cruft. I'll make a patch if you'll tell me what you'd like the default to be.

notice: Undefined variable: available in /home/rfay/workspace/d6git/sites/all/modules/imagefield_import/imagefield_import.module on line 741.
function _imagefield_import_upload_max_filesize() {
  list($type, $field_name) = split(':::', variable_get('imagefield_import_field', $available['keys'][0]));
  $field = content_fields($field_name, $type);

Comments

wulff’s picture

Status: Active » Fixed

This has been fixed in the development version of the module.

Thanks for reporting the error.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.