Index: openacs-4/packages/assessment/tcl/as-file-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-file-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/assessment/tcl/as-file-procs.tcl 13 Jan 2005 17:51:59 -0000 1.3 +++ openacs-4/packages/assessment/tcl/as-file-procs.tcl 13 Jan 2005 18:12:20 -0000 1.4 @@ -24,7 +24,7 @@ } # TODO make the CR name be a SHA1 of the file to prevent too much files repeated set filename [template::util::file::get_property filename $file_pathname] - set mime_type [cr_filename_to_mime_type -create $filename] + set file_mimetype [cr_filename_to_mime_type -create $filename] set content_length [file size $file_pathname] set content_rev_id [cr_import_content -title $filename $folder_id $file_pathname $content_length $file_mimetype [exec uuidgen]] as::item_rels::new -item_rev_id $as_item_id -target_rev_id $content_rev_id -type as_item_content_rel