From 5d2f993c22b47b5223f96b234b1c52acd27d5433 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 14 Dec 2006 13:30:59 +0000 Subject: - Patch #102583 by ChrisKennedy: file upload maxsize displayed incorrectly. --- modules/upload/upload.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/upload') diff --git a/modules/upload/upload.module b/modules/upload/upload.module index adc651be2..30bd9d3c0 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -210,7 +210,7 @@ function upload_admin_settings() { '#field_suffix' => t('MB') ); - $form['upload_max_size'] = array('#value' => '

'. t('Your PHP settings limit the maximum file size per upload to %size MB.', array('%size' => file_upload_max_size())).'

'); + $form['settings_general']['upload_max_size'] = array('#value' => '

'. t('Your PHP settings limit the maximum file size per upload to %size.', array('%size' => format_size(file_upload_max_size()))).'

'); $roles = user_roles(0, 'upload files'); $form['roles'] = array('#type' => 'value', '#value' => $roles); -- cgit v1.2.3