Closed (fixed)
Project:
Imagefield Import
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2009 at 16:28 UTC
Updated:
21 Feb 2010 at 16:40 UTC
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
Comment #1
wulff commentedThis has been fixed in the development version of the module.
Thanks for reporting the error.