Index: domain_adv.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/domain_adv/domain_adv.module,v
retrieving revision 1.3
diff -u -p -r1.3 domain_adv.module
--- domain_adv.module	25 Oct 2009 01:14:37 -0000	1.3
+++ domain_adv.module	5 Feb 2010 20:03:17 -0000
@@ -56,7 +56,7 @@ function domain_adv_domaingrants(&$grant
  * Implement wrapper function for domain access to check that the node is
  * available in the current domain
  */
-function domain_adv_node_access($op, $node) {
+function domain_adv_node_access($op, $node=NULL) {
   if (!empty($node->domains)) {
     $domain_id = $GLOBALS['_domain']['domain_id'];
     if ($domain_id == 0) $domain_id = -1;
