From c994ea1e28a4826bf999e8d14c91d5828142f9ed Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sun, 20 Aug 2006 13:16:34 +0000 Subject: [PATCH] - Patch #79629 by chx: fixed adding new roles. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user/user.module b/modules/user/user.module index 2d14714d4e91..030bef971ab3 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -720,7 +720,7 @@ function user_menu($may_cache) { 'callback' => 'drupal_get_form', 'callback arguments' => array('user_admin_perm'), 'access' => $access_access); $items[] = array('path' => 'admin/user/roles', 'title' => t('roles'), 'description' => t('List, edit, or add user roles.'), - 'callback' => 'drupal_get_form', 'callback arguments' => array('user_admin_role'), 'access' => $access_access, + 'callback' => 'drupal_get_form', 'callback arguments' => array('user_admin_new_role'), 'access' => $access_access, 'type' => MENU_NORMAL_ITEM); $items[] = array('path' => 'admin/user/roles/edit', 'title' => t('edit role'), 'callback' => 'drupal_get_form', 'callback arguments' => array('user_admin_role'), 'access' => $access_access, -- GitLab