Posted by Annakan on December 27, 2009 at 2:19pm
Jump to:
| Project: | Drag'n'Drop Uploads |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
You can choose in the DnDU option box an illegal upload widget, for instance a text widget.
If you do that you have a WSOD when you look at a content of this type ... AND a warning when coming back into your CCK type warning: array_values() [function.array-values]: The argument should be an array in ...dragndrop_uploads.module on line 146
Comments
#1
Hi Annakan,
Thanks for pointing that one out.
Simple fix:
Change line #14 of modules/filefield.inc from:
if ($field['type_name'] == $type) {To:
if ($field['type_name'] == $type && $field['module'] == 'filefield') {Will be committed ASAP.
Cheers,
Deciphered.
#2
Forgot to mark this issue as fixed: http://drupal.org/cvs?commit=307628
Cheers,
Deciphered.
#3