diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-10 20:22:57 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-10 20:22:57 +0000 |
commit | b17cd3b613df6a2e4912c263af7cff49004ffc38 (patch) | |
tree | 3e87d6bf4a018990125085ba65ece70d86a8aba8 /modules/upload/upload.admin.inc | |
parent | 7ecd63ed9f977045a890f19a6e08d5e9f9dca7d4 (diff) | |
download | brdo-b17cd3b613df6a2e4912c263af7cff49004ffc38.tar.gz brdo-b17cd3b613df6a2e4912c263af7cff49004ffc38.tar.bz2 |
#18954 by kkaefer, Pancho: built-in role names were not translated and some user_roles() call cleanups
Diffstat (limited to 'modules/upload/upload.admin.inc')
-rw-r--r-- | modules/upload/upload.admin.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.admin.inc b/modules/upload/upload.admin.inc index 7963d7320..d9371909a 100644 --- a/modules/upload/upload.admin.inc +++ b/modules/upload/upload.admin.inc @@ -109,7 +109,7 @@ function upload_admin_settings() { $form['settings_general']['upload_max_size'] = array('#value' => '<p>'. t('Your PHP settings limit the maximum file size per upload to %size.', array('%size' => format_size(file_upload_max_size()))) .'</p>'); - $roles = user_roles(0, 'upload files'); + $roles = user_roles(FALSE, 'upload files'); $form['roles'] = array('#type' => 'value', '#value' => $roles); foreach ($roles as $rid => $role) { |