--- attachment.module	2005-07-15 11:20:29.000000000 +0200
+++ attachment.module.new	2005-07-15 11:30:07.000000000 +0200
@@ -336,7 +336,7 @@
     
        $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);    
+       $row[0]['data'] = module_invoke('filemanager', 'l', $text, $attachment['fid'], TRUE, $attrib, TRUE);
       $row[0]['class'] = 'filename';
       $row[1]['data'] = format_size($attachment['size']);
       $row[1]['class'] = 'size';
