Index: openacs-4/packages/acs-templating/tcl/dimensional-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/dimensional-procs.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-templating/tcl/dimensional-procs.tcl 11 Sep 2024 06:15:48 -0000 1.5 +++ openacs-4/packages/acs-templating/tcl/dimensional-procs.tcl 16 Oct 2024 09:21:22 -0000 1.6 @@ -56,6 +56,13 @@ if {$options_set eq ""} { set options_set [ns_getform] + + # Process the set from the end to avoid shifted indices + for { set i [expr {[ns_set size $options_set]-1}]} { $i > -1 } { incr i -1 } { + if {[::util::suspicious_query_variable -proc ad_dimensional [ns_set key $options_set $i]]} { + ns_set delete $options_set $i + } + } } if {$url eq ""} {