Ignore:
Timestamp:
May 9, 2007 3:06:24 AM (17 years ago)
Author:
quinn
Message:

Minor bug fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Upload.inc.php

    r247 r256  
    117117     * @access  public
    118118     * @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.
    120120     * @return  mixed   Returns FALSE if a major error occured preventing any file uploads.
    121121     *                  Returns an empty array if any minor errors occured or no files were found.
     
    186186            } else {
    187187                // 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]) {
    189189                    // Valid custom file name.
    190190                    $file_name = $custom_file_name[$i];
Note: See TracChangeset for help on using the changeset viewer.