Index: openacs-4/packages/cms/tcl/module-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/tcl/module-procs.tcl,v diff -u -N -r1.9.2.5 -r1.9.2.6 --- openacs-4/packages/cms/tcl/module-procs.tcl 19 Feb 2007 22:17:42 -0000 1.9.2.5 +++ openacs-4/packages/cms/tcl/module-procs.tcl 16 Mar 2007 15:21:30 -0000 1.9.2.6 @@ -87,7 +87,7 @@ } { if { ![nsv_exists browser_state template_root_$subsite_id] } { - set root_id [db_string template_get_root_id ""] + set root_id [db_string template_get_root_id {} -default "-100"] nsv_set browser_state template_root_$subsite_id $root_id return $root_id } else { @@ -132,7 +132,7 @@ } { if { ![nsv_exists browser_state sitemap_root_$subsite_id] } { - set root_id [db_string sitemap_get_root_id ""] + set root_id [db_string sitemap_get_root_id {} -default "-100"] nsv_set browser_state sitemap_root_$subsite_id $root_id return $root_id } else {