Index: openid_cp_field.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/openid_cp_field/openid_cp_field.module,v retrieving revision 1.1.2.14 diff -u -p -r1.1.2.14 openid_cp_field.module --- openid_cp_field.module 29 Jun 2009 13:02:14 -0000 1.1.2.14 +++ openid_cp_field.module 30 Jun 2009 18:29:55 -0000 @@ -314,12 +330,12 @@ function openid_cp_field_openid_client($ if ($op == 'get') { return array_keys($mapping); } - if ($op == 'save') { + if ($op == 'save' || $op == 'update') { if (empty($mapping)) { return; } // If a profile already exists with any valid profile type, do nothing. - if (db_result(call_user_func_array('db_query', array("SELECT COUNT(*) FROM {node} WHERE uid = %d AND type IN (". db_placeholders($profile_types, 'text') . ")", $account->uid) + $profile_types)) > 0) { + if (db_result(call_user_func_array('db_query', array("SELECT COUNT(*) FROM {node} WHERE uid = %d AND type IN (". db_placeholders($profile_types, 'text') . ")", $account->uid) + $profile_types)) > 0 && $op != 'update') { return; } $profile = new StdClass();