fuelphp / upload

FuelPHP Framework - File upload library
MIT License
26 stars 16 forks source link

Undefined variable $createdTempFile in File.php #11

Closed SeanTaylorVS closed 9 years ago

SeanTaylorVS commented 9 years ago

$createdTempFile is undefined if reached on Line 480 of upload/src/File.php

// if we're auto renaming, remove the temporary file we've created, make sure it exists first though!
if ($createdTempFile)
{
    unlink($this->container['path'].$this->container['filename']);
}