Index: openacs-4/packages/attachments/tcl/attachments-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/tcl/Attic/attachments-procs-postgresql.xql,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/attachments/tcl/attachments-procs-postgresql.xql 30 Aug 2002 14:44:08 -0000 1.2 +++ openacs-4/packages/attachments/tcl/attachments-procs-postgresql.xql 24 Nov 2003 14:50:34 -0000 1.3 @@ -4,8 +4,7 @@ - select item_id, - acs_object__name(item_id) + select item_id from attachments where object_id = :object_id and approved_p = 't'