Skip to content

Commit

Permalink
Fix last remaining bug in custom field saving (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmunn authored Apr 4, 2022
1 parent 803ce18 commit 3741d3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Api/Model/Shared/DeepDiff/DeepDiffDecoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ private static function getCustomFieldStep($target, $step, $customFieldData) {
if (isset($target[$step])) {
return $target[$step];
} else {
return $target->generate($customFieldData);
$object = $target->generate($customFieldData);
$target[$step] = $object;
return $object;
}
}

Expand Down

0 comments on commit 3741d3e

Please sign in to comment.