Index: domain.module =================================================================== RCS file: /cvs/drupal/contributions/modules/domain/domain.module,v retrieving revision 1.81 diff -u -r1.81 domain.module --- domain.module 19 Oct 2008 15:45:45 -0000 1.81 +++ domain.module 21 Oct 2008 04:16:58 -0000 @@ -853,7 +853,7 @@ } else { // The $account may not have domain information loaded, so get it. - $domains = domain_get_user_domains($account->uid); + $domains = domain_get_user_domains($account); $perm = 'delete domain nodes'; if ($op == 'update') { $perm = 'edit domain nodes';