Index: openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl,v diff -u -N -r1.42.2.1 -r1.42.2.2 --- openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl 27 Aug 2013 11:01:48 -0000 1.42.2.1 +++ openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl 5 Sep 2013 11:50:59 -0000 1.42.2.2 @@ -802,7 +802,7 @@ set root_path_length [string length $root_path] # Check if the path starts with the root - if {[string range $path 0 [expr {$root_path_length - 1}]] == $root_path} { + if {[string range $path 0 $root_path_length-1] eq $root_path} { return 0 } else { return 1