Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
7.x-2.x-dev
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2011 at 12:42 UTC
Updated:
8 Jul 2011 at 14:12 UTC
Error in modules/content_migrate/modules/content_migrate.filefield.inc
Fixed on my side but thought I'd post so it gets pushed up. On Windows right now or I would upload a quick patch.
Lines 131 and 133 are missing closing brackets:
if (isset($record[$field['field_name'] . '_list')) {
$record[$field['field_name'] . '_display'] = $record[$field['field_name'] . '_list'];
unset($record[$field['field_name'] . '_list');
}
should be:
if (isset($record[$field['field_name'] . '_list'])) {
$record[$field['field_name'] . '_display'] = $record[$field['field_name'] . '_list'];
unset($record[$field['field_name'] . '_list']);
}
Comments
Comment #1
karens commentedQuite right. I just committed a fix. Thanks!
Comment #2
jhonandi100 commentedgood work