Commit 33633c5c authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#18954 follow up by myself: restore user role name editing

parent b17cd3b6
...@@ -623,7 +623,7 @@ function user_admin_role() { ...@@ -623,7 +623,7 @@ function user_admin_role() {
drupal_goto('admin/user/roles'); drupal_goto('admin/user/roles');
} }
// Display the edit role form. // Display the edit role form.
$role = db_fetch_object(db_query('SELECT * FROM {role} WHERE rid = %d', $id)); $role = db_fetch_object(db_query('SELECT * FROM {role} WHERE rid = %d', $rid));
$form['name'] = array( $form['name'] = array(
'#type' => 'textfield', '#type' => 'textfield',
'#title' => t('Role name'), '#title' => t('Role name'),
......
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