Posted by wqmeng on November 29, 2008 at 8:43am
Jump to:
| Project: | Imagefield Import |
| Version: | 5.x-1.2-beta |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
when detect imagefield from content types, now all cck field will be added to the list,
the code
foreach ($types as $key => $type) {
foreach ($type['fields'] as $field) {
if ($field['type']="image") {
$matches["$key:::$field[field_name]"] = $type['name'] .": ". $field['widget']['label'];
$keys[] = "$key:::$field[field_name]";
}
}
}should be if ($field['type']=="image") {
thanks
Comments
#1
Thanks for the good eyes. This is fixed in the new 5.x and 6.x versions.
#2
Automatically closed -- issue fixed for two weeks with no activity.