Index: openacs-4/packages/attachments/www/download/index.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/download/index.xql,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/attachments/www/download/index.xql 2 Jul 2002 19:41:20 -0000 1.1 +++ openacs-4/packages/attachments/www/download/index.xql 5 Aug 2002 21:11:55 -0000 1.2 @@ -1,14 +1,14 @@ - - - -select live_revision -from cr_items, attachments -where cr_items.item_id = attachments.item_id -and attachments.object_id = :object_id - - - - + + + + select live_revision + from cr_items, attachments + where cr_items.item_id = attachments.item_id + and attachments.object_id = :object_id + and attachments.item_id = :attachment_id + + +