--- filefield_deploy.module 2009-10-23 17:15:47.000000000 -0700 +++ filefield_deployNew.module 2009-10-23 17:09:08.000000000 -0700 @@ -65,11 +65,11 @@ function filefield_deploy_node_deploy_ch $pid = variable_get('deploy_pid', 0); // Roll through all the file fields in this content type. If it - // is not empty, not in the plan already, and doesn't exist on the + // is not empty (or an empty array), not in the plan already, and doesn't exist on the // remote server, then add it to the plan with an appropriate weight. if ($fields) { foreach ($fields as $field) { - if (!empty($node->{$field})) { + if (!empty($node->{$field}) && (!is_array($node->{$field}) || !empty($node->{$field}[0]))) { foreach ($node->{$field} as $file) { if (!deploy_item_is_in_plan($pid, 'filefield', $file['fid'])) {