Commit c994ea1e authored by Dries's avatar Dries
Browse files

- Patch #79629 by chx: fixed adding new roles.

parent 4f024f73
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment