summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 7c2df79cb..293588a0b 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1566,10 +1566,10 @@ function user_admin_role() {
$header = array(t('Name'), t('Operations'));
while ($role = db_fetch_object($result)) {
if ($role->name != 'anonymous user' && $role->name != 'authenticated user') {
- $rows[] = array($role->name, array('data' => l(t('edit'), "admin/access/roles/edit/$role->rid"), 'align' => 'center'));
+ $rows[] = array($role->name, l(t('edit'), 'admin/access/roles/edit/'. $role->rid));
}
else {
- $rows[] = array($role->name, array('data' => '<span class="disabled">'. t('locked') .'</span>', 'align' => 'center'));
+ $rows[] = array($role->name, '<span class="disabled">'. t('locked') .'</span>');
}
}
$rows[] = array('<input type="text" size="32" maxlength="64" name="edit[name]" />', '<input type="submit" name="op" value="'. t('Add role') .'" />');