If you allow unlimited file fields in conjunction with dragndrop, a PHP error is thrown if you try to add a field after removing one.

Version of CCK is 6.x-3.0-alpha3.

Steps to reproduce.
- Put a CCK file upload field in a content type, allow unlimited number in field config.
- Enable dragndrop uploads for that content type (select "File upload" and "Generic files")
- Create a new node: node/add/testing1
- Add two file upload sections, adding files with dnd each time.
- Remove one of them with the little button on the right.
- Add another one - now get error: "warning: array_shift() [function.array-shift]: The argument should be an array in /home/web/axm/drupal/includes/form.inc on line 1339."

Have tried various permutations of above steps. Basically, as long as you've clicked a remove button, adding another field produces the error. If you delete two rows, you get the same error twice.

Adding and removing fields without files causes no errors. Only happens if file has been dragged onto field.