Index: openacs-4/packages/attachments/www/simple-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/simple-add-2.tcl,v diff -u -r1.5.4.1 -r1.5.4.2 --- openacs-4/packages/attachments/www/simple-add-2.tcl 6 Sep 2013 16:01:48 -0000 1.5.4.1 +++ openacs-4/packages/attachments/www/simple-add-2.tcl 2 Oct 2013 23:08:45 -0000 1.5.4.2 @@ -13,7 +13,7 @@ url:notnull,trim } -validate { valid_folder -requires {folder_id:integer} { - if ![fs_folder_p $folder_id] { + if {![fs_folder_p $folder_id]} { ad_complain "[_ attachments.lt_The_specified_parent_]" } }