Index: openacs-4/packages/file-storage/www/download-archive/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/download-archive/index.vuh,v diff -u -r1.5 -r1.6 --- openacs-4/packages/file-storage/www/download-archive/index.vuh 26 May 2005 08:28:46 -0000 1.5 +++ openacs-4/packages/file-storage/www/download-archive/index.vuh 27 Oct 2014 16:41:35 -0000 1.6 @@ -7,13 +7,13 @@ @version $Id$ } -query { - {object_id:integer,optional} + {object_id:naturalnum,optional} } -if {[exists_and_not_null object_id]} { +if {([info exists object_id] && $object_id ne "")} { set download_name [fs::get_file_system_safe_object_name -object_id $object_id] set ext [fs::get_archive_extension] - if {![empty_string_p $ext]} { + if {$ext ne ""} { append download_name ".${ext}" }