Index: openacs-4/packages/dotlrn-homework/www/folder-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-homework/www/folder-chunk.tcl,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/dotlrn-homework/www/folder-chunk.tcl 30 Oct 2003 12:21:44 -0000 1.2 +++ openacs-4/packages/dotlrn-homework/www/folder-chunk.tcl 3 Apr 2004 00:22:06 -0000 1.2.2.1 @@ -78,12 +78,13 @@ # Strip off the user_id set pretty_name [dotlrn_homework::decode_name $name] + # If the user can read the file the user can read the file's details set view_details_url "${url}file?[export_vars {folder_id {file_id $object_id}}]" # And download the latest revision set file_storage_url [dotlrn_homework::get_file_storage_url] - set download_url "${file_storage_url}/download/index?[export_vars {version_id}]" + set download_url "${file_storage_url}/download/$title?[export_vars {version_id}]" # Admin and students can read correction files but only an admin can add one ... if { ![string equal $homework_file_id ""] } {