Index: openacs-4/packages/file-storage/www/file-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/file-add.tcl,v diff -u -r1.17 -r1.17.2.1 --- openacs-4/packages/file-storage/www/file-add.tcl 3 Oct 2011 09:56:00 -0000 1.17 +++ openacs-4/packages/file-storage/www/file-add.tcl 6 Sep 2013 16:24:55 -0000 1.17.2.1 @@ -32,7 +32,7 @@ } max_size -requires {upload_file} { set n_bytes [file size ${upload_file.tmpfile}] - set max_bytes [ad_parameter "MaximumFileSize"] + set max_bytes [parameter::get -parameter "MaximumFileSize"] if { $n_bytes > $max_bytes } { ad_complain "Your file is larger than the maximum file size allowed on this system ([util_commify_number $max_bytes] bytes)" }