uc_option_image.install file had an array problem at line#11
$file = (object) array(
'uid' => 1,
'filename' => 'option_image_0_0_0';
'filepath' => $no_image,
'filemime' => $info['file_mime'],
'filesize' => $info['file_size'],
'status' => FILE_STATUS_PERMANENT
);
should be
$file = (object) array(
'uid' => 1,
'filename' => 'option_image_0_0_0',
'filepath' => $no_image,
'filemime' => $info['file_mime'],
'filesize' => $info['file_size'],
'status' => FILE_STATUS_PERMANENT
);
----
attachment contains the fixed file
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | uc_option_image.install.patch | 464 bytes | Matteo Lorétan |
Comments
Comment #1
Matteo Lorétan commentedHere is a patch to fix the problem, replacing the semicolon with a comma as a described above.
Comment #2
dakku commentedworks..
can this be added to CVS?
Comment #3
spaquet commentedYep, this should be patch in the CVS since it's an easy one.
Comment #4
acouch commentedThis has been fixed in the dev version. Please let me know if you are still having trouble installing.