Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrothmann1 committed Dec 14, 2017
1 parent 95361bb commit 21320f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Manipulate/Operations/ManipulationHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ public function transferAllRelationFields($fieldSet,$model, $data, $relMeta){
*/
foreach ($fieldSet->getRelationFields() as $field){
$relationshipName=$field->getFieldName();
$this->handleRelationshipLinking($model,$data[$field->getFieldId()],$relationshipName,$relMeta[$relationshipName],$field);
$val=array_key_exists($field->getFieldId(),$data)?$data[$field->getFieldId()]:null;
$this->handleRelationshipLinking($model,$val,$relationshipName,$relMeta[$relationshipName],$field);
}
}

Expand Down

0 comments on commit 21320f3

Please sign in to comment.