Index: openacs-4/packages/lorsm/www/admin/course-add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/admin/course-add-3.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/lorsm/www/admin/course-add-3.tcl 8 Oct 2008 13:01:05 -0000 1.7 +++ openacs-4/packages/lorsm/www/admin/course-add-3.tcl 8 Oct 2008 13:24:32 -0000 1.8 @@ -529,7 +529,7 @@ # to refine the search a bit more. set found_file [lsearch -all -regexp -exact $all_files $tmp_dir/$filename] } - + if {![empty_string_p $found_file]} { set file_id [lindex [lindex $all_files $found_file] 3] set file_rev_id [content::item::get_live_revision -item_id $file_id]