Skip to content

Commit

Permalink
Merge pull request #149 from paddya/patch-1
Browse files Browse the repository at this point in the history
FormFlow::saveCurrentStepData() fails for embedded forms with file uploads
  • Loading branch information
craue committed Oct 6, 2014
2 parents 5001e8f + a47c592 commit 03404b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/FormFlow.php
Expand Up @@ -663,7 +663,7 @@ public function saveCurrentStepData(FormInterface $form) {
$currentStepData = $request->request->get($formName, array());

if ($this->handleFileUploads) {
$currentStepData = array_merge($currentStepData, $request->files->get($formName, array()));
$currentStepData = array_merge_recursive($currentStepData, $request->files->get($formName, array()));
}

$stepData[$this->currentStepNumber] = $currentStepData;
Expand Down

0 comments on commit 03404b6

Please sign in to comment.