Index: openacs-4/packages/acs-templating/tcl/acs-integration-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/acs-integration-procs.tcl,v diff -u -r1.20.2.3 -r1.20.2.4 --- openacs-4/packages/acs-templating/tcl/acs-integration-procs.tcl 7 Oct 2013 16:42:30 -0000 1.20.2.3 +++ openacs-4/packages/acs-templating/tcl/acs-integration-procs.tcl 13 Oct 2013 09:35:07 -0000 1.20.2.4 @@ -53,11 +53,9 @@ set template_params [list] foreach param $params { switch [llength $param] { - 1 { lappend template_params "&" - lappend template_params [lindex $param 0] + 1 { lappend template_params "&" [lindex $param 0] } - 2 { lappend template_params [lindex $param 0] - lappend template_params [lindex $param 1] + 2 { lappend template_params [lindex $param 0] [lindex $param 1] } default { return -code error [_ acs-templating.Template_parser_error_in_parameter_list] } }