Changeset 2116

Show
Ignore:
Timestamp:
02/21/08 19:31:37 (6 months ago)
Author:
Shadowhand
Message:

Merged r2115 into releases/2.1.2

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • releases/2.1.2/modules/forge/libraries/Form_Upload.php

    r2102 r2116  
    111111        { 
    112112            // Reset the POST value to the new filename 
    113             $this->data['value'] = $_POST[$this->data['name']] = $filepath; 
     113            $this->data['value'] = $_POST[$this->data['name']] = empty($filepath) ? '' : $filepath; 
    114114        } 
    115115