diff options
Diffstat (limited to 'my_proposals.inc')
-rw-r--r-- | my_proposals.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/my_proposals.inc b/my_proposals.inc index 4c3ff5f..d79a55f 100644 --- a/my_proposals.inc +++ b/my_proposals.inc @@ -233,7 +233,7 @@ else{ $temp_no = $i; $form['reference_files'][$i]['image'] = array( //'#title' => t('Add Event Image'), - '#type' => 'file', + '#type' => 'managed_file', '#weight' => '5', '#description' => t('Upload filenames with allowed extensions only. No spaces or any special characters allowed in filename.') . '<br />' . t('<span style="color:red;">Allowed file extensions: ') . variable_get('reference_image_extensions', '') . '</span>', // We need this to know which file element this is. |