diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-10-26 05:31:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-10-26 05:31:14 +0000 |
commit | cb8be5f82182998bfb5a69ef10a5354e1ae2accd (patch) | |
tree | 385b42471eabd340e844b891ac9b111ed04babcf /modules/upload/upload.module | |
parent | 13232aba9738f001c91ace7b23061418591303bb (diff) | |
download | brdo-cb8be5f82182998bfb5a69ef10a5354e1ae2accd.tar.gz brdo-cb8be5f82182998bfb5a69ef10a5354e1ae2accd.tar.bz2 |
- Patch #89285 by profix: code simplifications.
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r-- | modules/upload/upload.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 9772598d4..43fb245fb 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -768,7 +768,7 @@ function _upload_form($node) { $description = "<small>". check_plain($description) ."</small>"; $form['files'][$key]['description'] = array('#type' => 'textfield', '#default_value' => (strlen($file->description)) ? $file->description : $file->filename, '#maxlength' => 256, '#description' => $description ); - $form['files'][$key]['size'] = array('#type' => 'markup', '#value' => format_size($file->filesize)); + $form['files'][$key]['size'] = array('#value' => format_size($file->filesize)); $form['files'][$key]['remove'] = array('#type' => 'checkbox', '#default_value' => $file->remove); $form['files'][$key]['list'] = array('#type' => 'checkbox', '#default_value' => $file->list); // if the file was uploaded this page request, set value. this fixes the problem |