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 -N -r1.6 -r1.7 --- openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 6 Oct 2006 02:02:29 -0000 1.6 +++ openacs-4/packages/acs-templating/www/scripts/xinha/attach-file.tcl 6 Oct 2006 02:07:43 -0000 1.7 @@ -19,6 +19,7 @@ set write_p 1 # set recent files + set recent_files_options [list] db_multirow -unclobber recent_files recent_files \ { select ci.item_id, ci.name @@ -30,6 +31,7 @@ order by creation_date desc limit 6 } { + set name [regsub "${item_id}_" $name ""] lappend recent_files_options [list $name $item_id] }