Index: openacs-4/packages/attachments/www/file-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/www/file-add.tcl,v diff -u -N -r1.6.4.1 -r1.6.4.2 --- openacs-4/packages/attachments/www/file-add.tcl 6 Sep 2013 16:01:48 -0000 1.6.4.1 +++ openacs-4/packages/attachments/www/file-add.tcl 2 Oct 2013 23:08:45 -0000 1.6.4.2 @@ -13,7 +13,7 @@ {lock_title_p 0} } -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_]" } } @@ -37,7 +37,7 @@ # double-click protection # if title isn't passed in ignore lock_title_p -if {[empty_string_p $title]} { +if {$title eq ""} { set lock_title_p 0 }