? b.patch ? boost-785766.patch Index: boost.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v retrieving revision 1.3.2.2.2.5.2.366 diff -u -p -r1.3.2.2.2.5.2.366 boost.module --- boost.module 27 Aug 2010 17:40:04 -0000 1.3.2.2.2.5.2.366 +++ boost.module 29 Aug 2010 03:03:54 -0000 @@ -919,7 +919,7 @@ function _boost_view_insert($debug = FAL return; } - global $_boost; + global $_boost, $base_url; if (empty($_boost['new_nodes']) && $nid == FALSE) { return FALSE; } @@ -950,14 +950,20 @@ function _boost_view_insert($debug = FAL // Get list of views that might contain the new content. $views += boost_views_get_valid_array(); - // Get all domains into the base_urls array - foreach (domain_domains() as $key => $value) { - $domains[$key] = $key; - } - $fake_node = new stdClass(); - $fake_node->domains = $domains; - $base_urls = boost_get_base_urls($fake_node); - unset($fake_node); + $base_urls = array(); + if (module_exists('domain')) { + // Get all domains into the base_urls array + foreach (domain_domains() as $key => $value) { + $domains[$key] = $key; + } + $fake_node = new stdClass(); + $fake_node->domains = $domains; + $base_urls = boost_get_base_urls($fake_node); + unset($fake_node); + } + else { + $base_urls[0][] = $base_url . '/'; + } // Loop through each node foreach ($_boost['new_nodes'] as $nid) {