mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
68826357cc
Upload::load() assumes that a parent Folder always exists for a file upload, but that's not always the case, and a non-object error is given if no parent folder. Check the folder exists first before getting the ID. |
||
---|---|---|
.. | ||
File.php | ||
FileFinder.php | ||
FileNameFilter.php | ||
Filesystem.php | ||
Folder.php | ||
GD.php | ||
Upload.php |