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

merge-requests/26/head
Dries Buytaert 2009-08-22 10:09:28 +00:00
parent bb96d8e01e
commit 94abfae9ac
1 changed files with 1 additions and 1 deletions

View File

@ -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');