diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-20 13:16:34 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-20 13:16:34 +0000 |
commit | c994ea1e28a4826bf999e8d14c91d5828142f9ed (patch) | |
tree | cf67f2184aedf9a5826de5a43f8756f84cb6e2d3 | |
parent | 4f024f73114937debf70f3c953f084908aad7681 (diff) | |
download | brdo-c994ea1e28a4826bf999e8d14c91d5828142f9ed.tar.gz brdo-c994ea1e28a4826bf999e8d14c91d5828142f9ed.tar.bz2 |
- Patch #79629 by chx: fixed adding new roles.
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 2d14714d4..030bef971 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, |