From cb8be5f82182998bfb5a69ef10a5354e1ae2accd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 26 Oct 2006 05:31:14 +0000 Subject: - Patch #89285 by profix: code simplifications. --- modules/upload/upload.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/upload/upload.module') 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 = "". check_plain($description) .""; $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 -- cgit v1.2.3