fuelphp / upload

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

Undefined vars? #3

Closed SCIF closed 11 years ago

SCIF commented 11 years ago

https://github.com/fuelphp/upload/blob/develop/src/FuelPHP/Upload/Upload.php#142 and https://github.com/fuelphp/upload/blob/develop/src/FuelPHP/Upload/Upload.php#192

May be $selection = (array) $this->index; ?

WanWizard commented 11 years ago

What is the error you're getting?

$this implements ArrayAccess, so $this[$index] is perfectly valid.