FEATURE #2472: update to laravel 5.4 - not stable at allg a -A

This commit is contained in:
Michal Kváček
2017-07-31 16:10:23 +02:00
parent e9e9f0976c
commit 638f6ef134
6 changed files with 489 additions and 702 deletions
@@ -1,4 +1,5 @@
<?php
namespace App\CMS\Pipeline\SavePipeline\Process;
use App\CMS\Contracts\Content\SavePipeline\Process;
@@ -19,6 +20,10 @@ class UploadRelatedFiles implements Process
*/
function handle(Content & $page, array & $input)
{
if (!isset($input['files'])) {
return;
}
$files = $input['files'];
$assignedFiles = isset($input['keepAssigned']) ? $input['keepAssigned'] : [];