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.5 -r1.6 --- openacs-4/packages/acs-templating/tcl/util-procs.tcl 22 Feb 2002 19:04:03 -0000 1.5 +++ openacs-4/packages/acs-templating/tcl/util-procs.tcl 13 Aug 2002 16:45:49 -0000 1.6 @@ -128,7 +128,7 @@ append query [join $conditions " and "] - template::query get_count count onevalue $query + set count [db_string get_count $query] return [expr $count == 0] }