Changeset 256 for trunk/lib/Upload.inc.php
- Timestamp:
- May 9, 2007 3:06:24 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Upload.inc.php
r247 r256 117 117 * @access public 118 118 * @param string $form_name The name of the form to process. 119 * @param string $custom_file_name The new name of the file. An array of filename in the case of multiple files.119 * @param string $custom_file_name The new name of the file. An array of filenames in the case of multiple files. 120 120 * @return mixed Returns FALSE if a major error occured preventing any file uploads. 121 121 * Returns an empty array if any minor errors occured or no files were found. … … 186 186 } else { 187 187 // Multiple upload. Final file names must be array. 188 if (isset($custom_file_name) && is_array($custom_file_name) && is_array($custom_file_name[$i]) &&'' != $custom_file_name[$i]) {188 if (isset($custom_file_name) && is_array($custom_file_name) && '' != $custom_file_name[$i]) { 189 189 // Valid custom file name. 190 190 $file_name = $custom_file_name[$i];
Note: See TracChangeset
for help on using the changeset viewer.