mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 13:45:56 +02:00
File fix, ensure FILES object is available before continuing
This commit is contained in:
@@ -1382,6 +1382,10 @@ class AdminController
|
||||
*/
|
||||
private function processFiles($obj)
|
||||
{
|
||||
if (!isset($_FILES['data'])) {
|
||||
return $obj;
|
||||
}
|
||||
|
||||
$cleanFiles = $this->cleanFilesData($obj);
|
||||
|
||||
foreach ($cleanFiles as $key => $data) {
|
||||
|
||||
Reference in New Issue
Block a user