? bio-admin-exempt.patch
? bio-install-fix.patch
Index: bio.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/bio/bio.module,v
retrieving revision 1.2.2.6
diff -u -p -r1.2.2.6 bio.module
--- bio.module	12 Mar 2007 16:48:45 -0000	1.2.2.6
+++ bio.module	15 Mar 2007 23:55:09 -0000
@@ -126,7 +126,8 @@ function bio_nodeapi(&$node, $op, $a3 = 
   switch ($op) {
     case 'validate':
       // This user already has a bio node and this isn't it
-      $nid = bio_for_user($node->uid);
+      $account = user_load(array('name' => $node->name));
+      $nid = bio_for_user($account->uid);
       if ($nid && ($nid != $node->nid)) {
         form_set_error('name', t('This user already has a @bio. Edit it <a href="@link">here</a> or assign this entry to another user.', array('@bio' => node_get_types('name', $node), '@link' => url('node/'.$nid.'/edit'))));
       } 
