Index: openacs-4/packages/wp-slim/www/attach.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/www/attach.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/wp-slim/www/attach.tcl 1 Mar 2005 00:01:46 -0000 1.11 +++ openacs-4/packages/wp-slim/www/attach.tcl 12 Sep 2013 20:47:19 -0000 1.12 @@ -35,9 +35,9 @@ incr exception_count } -if { ![empty_string_p [ad_parameter MaxAttachmentSize "comments"]] && $tmp_size > [ad_parameter MaxAttachmentSize "comments"] } { +if { ![empty_string_p [parameter::get -parameter MaxAttachmentSize -default "comments"]] && $tmp_size > [parameter::get -parameter MaxAttachmentSize -default "comments"] } { set system_name [ad_system_name] - set bytes [util_commify_number [ad_parameter MaxAttachmentSize "comments"]] + set bytes [util_commify_number [parameter::get -parameter MaxAttachmentSize -default "comments"]] append exception_text "