Index: openacs-4/packages/attachments/www/attach.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/attach.tcl,v diff -u -r1.7 -r1.7.2.1 --- openacs-4/packages/attachments/www/attach.tcl 11 Dec 2003 21:39:57 -0000 1.7 +++ openacs-4/packages/attachments/www/attach.tcl 21 Jun 2004 20:10:10 -0000 1.7.2.1 @@ -17,6 +17,8 @@ # We require the write permission on an object permission::require_permission -object_id $object_id -privilege write +set write_permission_p \ + [permission::permission_p -object_id $folder_id -privilege write] # Give the object a nasty name if it doesn't have a pretty name if {[empty_string_p $pretty_object_name]} {