Changeset 1838 for sandbox/filemanager/inc/upload.php
- Timestamp:
- 12/15/09 12:31:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/upload.php
r1829 r1838 36 36 break; 37 37 default: 38 return ;38 return false; 39 39 } 40 40 $max_resolution = 48; … … 149 149 { 150 150 $content = create_summaryImage($_FILES['upload_file']['tmp_name'][$i]); 151 $bo->vfs->set_summary(array( 152 'string'=> $_FILES['upload_file']['name'][$i], 153 'relatives' => array(RELATIVE_ALL), 154 'summary'=> $content 155 )); 151 if ($content){ 152 $bo->vfs->set_summary(array( 153 'string'=> $_FILES['upload_file']['name'][$i], 154 'relatives' => array(RELATIVE_ALL), 155 'summary'=> $content 156 )); 157 } 158 156 159 } 157 160 }
Note: See TracChangeset
for help on using the changeset viewer.