Index: openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl,v diff -u -r1.74 -r1.75 --- openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl 5 Jun 2007 09:01:15 -0000 1.74 +++ openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl 5 Jun 2007 09:06:58 -0000 1.75 @@ -262,8 +262,8 @@ site_node::update_cache -node_id $root_node_id } - # Update the cache for the acs-* nodes - db_foreach acs_nodes {select node_id from site_nodes s, apm_packages where parent_id = '502' and s.object_id = package_id and package_key != 'acs-subsite'} { + # Update the cache for the mounted packages except acs-subsite + db_foreach acs_nodes {select node_id from site_nodes s, apm_packages where parent_id = :root_node_id and s.object_id = package_id and package_key != 'acs-subsite'} { site_node::update_cache -node_id $node_id -sync_children } }