From 9ccb6d7a80dfc2762d28885b0f32ca358bdfd7ee Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Tue, 6 Dec 2005 12:36:37 +0000 Subject: [PATCH] - Patch #26641 by Uwe: tabs disappear in user.module settings after saving a role. --- modules/user.module | 1 + modules/user/user.module | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/user.module b/modules/user.module index 6b5f4c660ca7..a85358eafd2e 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1663,6 +1663,7 @@ function user_admin_role() { if ($edit['name']) { db_query("UPDATE {role} SET name = '%s' WHERE rid = %d", $edit['name'], $id); drupal_set_message(t('The changes have been saved.')); + drupal_goto('admin/access/roles'); } else { form_set_error('name', t('You must specify a valid role name.')); diff --git a/modules/user/user.module b/modules/user/user.module index 6b5f4c660ca7..a85358eafd2e 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1663,6 +1663,7 @@ function user_admin_role() { if ($edit['name']) { db_query("UPDATE {role} SET name = '%s' WHERE rid = %d", $edit['name'], $id); drupal_set_message(t('The changes have been saved.')); + drupal_goto('admin/access/roles'); } else { form_set_error('name', t('You must specify a valid role name.')); -- GitLab