Changeset 2115

Show
Ignore:
Timestamp:
02/21/08 20:30:13 (5 months ago)
Author:
Shadowhand
Message:

Fixing #414, thanks cufo.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/modules/forge/libraries/Form_Upload.php

    r2023 r2115  
    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