Index: openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.tcl,v diff -u -N -r1.16 -r1.17 --- openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.tcl 11 Jul 2018 21:57:26 -0000 1.16 +++ openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.tcl 14 Sep 2018 18:15:49 -0000 1.17 @@ -173,7 +173,7 @@ } else { # user chose an existing file set item_id $choose_file - set file_name [lindex $recent_images_options [util_search_list_of_lists $recent_images_options $item_id 1] 0] + set file_name [lindex $recent_images_options [lsearch -index 1 $recent_images_options $item_id] 0] } set f_url "/image/${item_id}/${file_name}" }