? 540684-domain-source.patch
? 561282-views-filtering.patch
? 564070-source.patch
? 609600-sitename,patch
? big.redirect.patch
? test.patch
Index: domain.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain.module,v
retrieving revision 1.122
diff -u -p -r1.122 domain.module
--- domain.module	11 Oct 2009 17:44:21 -0000	1.122
+++ domain.module	20 Oct 2009 16:40:36 -0000
@@ -100,7 +100,9 @@ function domain_init() {
     drupal_goto($_domain['path']);
   }
   // Set the site name to the domain-specific name.
-  $conf['site_name'] = $_domain['sitename'];
+  if ($_domain['domain_id'] > 0) {
+    $conf['site_name'] = $_domain['sitename'];
+  }
 
   // Properly load custom_url_rewrite_outbound().
   // See http://drupal.org/node/529026
