--- contrib/image_attach/image_attach.module.beta3-orig 2009-09-08 14:14:49.000000000 +0100 +++ contrib/image_attach/image_attach.module 2009-11-11 17:13:52.000000000 +0000 @@ -382,7 +382,7 @@ function image_attach_nodeapi(&$node, $o } $node->content['image_attach'] = array('#weight' => $weight); if ($teaser_or_body == 'teaser') { - $node->content['image_attach'][$node->iids[0]]['#value'] = theme("image_attach_{$teaser_or_body}", $node, $node->iids[0]); + $node->content['image_attach'][$node->iids[0]]['#value'] = theme("image_attach_{$teaser_or_body}", $node, current($node->iids)); } else { $content = '';