Index: openacs-4/packages/attachments/www/file-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/file-add-2.tcl,v diff -u -N -r1.10 -r1.11 --- openacs-4/packages/attachments/www/file-add-2.tcl 6 Dec 2018 13:49:38 -0000 1.10 +++ openacs-4/packages/attachments/www/file-add-2.tcl 6 Dec 2018 13:50:34 -0000 1.11 @@ -28,7 +28,7 @@ ad_complain "[_ attachments.lt_Your_file_is_larger_t]" } } -} +} # Check for write permission on this folder permission::require_permission -object_id $folder_id -privilege write @@ -64,7 +64,7 @@ -title $title \ -description $description \ -package_id $fs_package_id - + # attach the file_id attachments::attach -object_id $object_id -attachment_id $file_id