Index: openacs-4/packages/acs-templating/tcl/util-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/util-procs.tcl,v diff -u -r1.16 -r1.16.2.1 --- openacs-4/packages/acs-templating/tcl/util-procs.tcl 15 Oct 2003 12:35:51 -0000 1.16 +++ openacs-4/packages/acs-templating/tcl/util-procs.tcl 24 Nov 2003 12:41:55 -0000 1.16.2.1 @@ -266,12 +266,11 @@ @param arrayname The name of an array in the calling frame. } { + upvar $arrayname arr - upvar $arrayname arr - - foreach { key value } [array get arr] { - uplevel "set \{${key}\} \{$value\}" - } + foreach { key value } [array get arr] { + uplevel [list set $key $value] + } } ad_proc -public template::util::vars_to_array { arrayname args } {