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.17.6.1 -r1.17.6.2 --- openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 10 Oct 2013 21:20:11 -0000 1.17.6.1 +++ openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 11 Oct 2013 09:49:13 -0000 1.17.6.2 @@ -206,7 +206,7 @@ } else { if {$choose_file ne ""} { set item_id $choose_file - set file_name [lindex [lindex $recent_files_options [util_search_list_of_lists $recent_files_options $item_id 1]] 0] + set file_name [lindex $recent_files_options [util_search_list_of_lists $recent_files_options $item_id 1] 0] # we have to get rid of the icon from the form. set file_name [regsub -all {<.*?>} $file_name {}] }