--- oldattachment.module 2005-04-16 02:15:16.000000000 +0100 +++ newattachment.module 2005-06-23 17:43:05.174329736 +0100 @@ -333,10 +333,9 @@ foreach ((array)$node->attachments as $attachment) { if (!$attachment['hidden'] && !$attachment['deleted']) { - - $text = empty($attachment['title']) ? $attachment['filename'] : ($attachment['title'] . ' (' . $attachment['filename'] . ')'); - $attrib = empty($attachment['description']) ? array() : array('title' => $attachment['description']); - $row[0]['data'] = l($text, module_invoke('filemanager', 'url', $attachment['fid']), $attrib); + $text = empty($attachment['title']) ? $attachment['filename'] : ($attachment['title'] . ' (' . $attachment['filename'] . ')'); + $attrib = empty($attachment['description']) ? array() : array('title' => $attachment['description']); + $row[0]['data'] = module_invoke('filemanager', 'l', $text, $attachment['fid'], FALSE, $attrib, TRUE); $row[0]['class'] = 'filename'; $row[1]['data'] = format_size($attachment['size']); $row[1]['class'] = 'size';