Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozhidar Slaveykov committed Oct 22, 2021
1 parent d194d9f commit 60f4219
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -29,6 +29,9 @@ public function up()
$formDataValue->field_name = $dataKey;

if (is_array($dataValue)) {
if ($dataValue['type'] == 'upload') {
$formDataValue->field_type = 'upload';
}
$formDataValue->field_value_json = $dataValue;
} else {
$formDataValue->field_value = $dataValue;
Expand Down

0 comments on commit 60f4219

Please sign in to comment.