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

6.x
Gábor Hojtsy 2008-01-10 21:42:59 +00:00
parent b17cd3b613
commit 33633c5c59
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ function user_admin_role() {
drupal_goto('admin/user/roles');
}
// 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(
'#type' => 'textfield',
'#title' => t('Role name'),