Index: openacs-4/packages/acs-templating/tcl/list-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/list-procs.tcl,v diff -u -r1.94.2.4 -r1.94.2.5 --- openacs-4/packages/acs-templating/tcl/list-procs.tcl 20 Nov 2019 14:06:41 -0000 1.94.2.4 +++ openacs-4/packages/acs-templating/tcl/list-procs.tcl 21 Nov 2019 19:08:47 -0000 1.94.2.5 @@ -547,10 +547,10 @@ -ulevel [expr {$ulevel + 1}] # Make group_by information available to templates - if { [exists_and_not_null list_properties(filter,groupby)] } { + if { [info exists list_properties(filter,groupby)] && $list_properties(filter,groupby) ne "" } { set list_properties(groupby) $list_properties(filter,groupby) } - if { [exists_and_not_null list_properties(filter_label,groupby)] } { + if { [info exists list_properties(filter_label,groupby)] && $list_properties(filter_label,groupby) ne "" } { set list_properties(groupby_label) $list_properties(filter_label,groupby) } @@ -1239,7 +1239,7 @@ # display_eval, link_url_eval foreach __eval_property { display link_url } { - if { [exists_and_not_null element_properties(${__eval_property}_eval)] } { + if { [info exists element_properties(${__eval_property}_eval)] && $element_properties(${__eval_property}_eval) ne "" } { # Set the display col to the name of the new, dynamic column set element_properties(${__eval_property}_col) "$element_properties(name)___$__eval_property" @@ -1285,7 +1285,7 @@ # display_eval, link_url_eval foreach __eval_property { display link_url } { - if { [exists_and_not_null __element_properties(${__eval_property}_eval)] } { + if { [info exists element_properties(${__eval_property}_eval)] && $element_properties(${__eval_property}_eval) ne "" } { set $__element_properties(${__eval_property}_col) [subst $__element_properties(${__eval_property}_eval)] } }