Commit 94abfae9 authored by Dries's avatar Dries

- Patch #556248 by doq: fixed error when editing role.

parent bb96d8e0
......@@ -728,7 +728,7 @@ function theme_user_admin_permissions($form) {
* @see theme_user_admin_new_role()
*/
function user_admin_role() {
$rid = arg(4);
$rid = arg(5);
if ($rid) {
if ($rid == DRUPAL_ANONYMOUS_RID || $rid == DRUPAL_AUTHENTICATED_RID) {
drupal_goto('admin/config/people/roles');
......
Markdown is supported
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