? ds.patch
Index: domain_source.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain_source/domain_source.module,v
retrieving revision 1.3
diff -u -p -r1.3 domain_source.module
--- domain_source.module	3 Feb 2008 19:34:57 -0000	1.3
+++ domain_source.module	28 Feb 2008 01:41:08 -0000
@@ -100,8 +100,8 @@ function domain_source_nodeapi(&$node, $
         // I find this code easier to read than a compound IF statement.
       }
       // Here we account for both the 'domains_raw' and 'domains' options.
-      // If selected, these calues will not be zero.
-      else if (!$node->domains[$key] && !$node->domains_raw[$key]) {
+      // If selected, these clauses will not be zero.
+      else if (!$node->domains[$key] && (!empty($node->domains_raw) && !in_array($key, $node->domains_raw))) {
         form_set_error('domain_source', t('The source affiliate must be selected as a publishing option.'));
       }
       break;
