Index: openid_ax.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/openid_ax/openid_ax.module,v retrieving revision 1.4 diff -u -r1.4 openid_ax.module --- openid_ax.module 30 Jun 2008 07:48:28 -0000 1.4 +++ openid_ax.module 23 Sep 2008 14:02:00 -0000 @@ -36,6 +36,7 @@ $items['user/%user/persona'] = array( 'title' => 'OpenID AX Personas', 'page callback' => 'openid_ax_persona', + 'page arguments' => array(1), 'access callback' => TRUE, 'type' => MENU_LOCAL_TASK, 'file' => 'openid_ax.pages.inc' Index: openid_ax.pages.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/openid_ax/openid_ax.pages.inc,v retrieving revision 1.8 diff -u -r1.8 openid_ax.pages.inc --- openid_ax.pages.inc 4 Jul 2008 05:44:58 -0000 1.8 +++ openid_ax.pages.inc 23 Sep 2008 14:02:01 -0000 @@ -98,15 +98,18 @@ } -function openid_ax_persona() { - return drupal_get_form('openid_ax_persona_form'); +function openid_ax_persona($account) { + return drupal_get_form('openid_ax_persona_form', $account); } /** *Form for creating/editing a persona */ -function openid_ax_persona_form() { - global $user; +function openid_ax_persona_form($form_state, $user = NULL) { + if (!$user) { + global $user; + } + $form = array(); $identifiers = db_query("SELECT * FROM {openid_ax_attributes}"); $ax_values = db_query("SELECT * FROM {openid_ax_values} WHERE uid=%d",$user->uid );