Index: openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl,v diff -u -r1.19 -r1.20 --- openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 7 Aug 2017 23:48:03 -0000 1.19 +++ openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 1 Oct 2017 12:16:05 -0000 1.20 @@ -170,7 +170,7 @@ -package_id [ad_conn package_id] \ -mime_type $mime_type } - file delete $upload_tmpfile + file delete -- $upload_tmpfile permission::grant \ -object_id $item_id \ -party_id $user_id \