Index: autoassignrole.module =================================================================== RCS file: /cvs/drupal/contributions/modules/autoassignrole/autoassignrole.module,v retrieving revision 1.17 diff -u -r1.17 autoassignrole.module --- autoassignrole.module 25 Sep 2009 16:08:43 -0000 1.17 +++ autoassignrole.module 2 Nov 2009 11:50:08 -0000 @@ -577,11 +577,8 @@ } } if ($path) { - $items['user/register'] = array( - 'page arguments' => array($path), - 'page callback' => 'drupal_goto', - 'access callback' => 'user_register_access', - 'type' => MENU_LOCAL_TASK, - ); + $items['user/register']['page arguments'] = array($path); + $items['user/register']['page callback'] => 'drupal_goto'; + $items['user/register']['type'] => MENU_LOCAL_TASK; } }