File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/app/Library/CrudPanel/Traits Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ private function getRelationDataFromFormData($data)
219219 foreach ($ relation_fields as $ relation_field ) {
220220 $ attributeKey = $ this ->parseRelationFieldNamesFromHtml ([$ relation_field ])[0 ]['name ' ];
221221
222- if (! is_null (Arr::get ($ data , $ attributeKey )) && isset ($ relation_field ['pivot ' ]) && $ relation_field ['pivot ' ] !== true ) {
222+ if (! is_null (Arr::get ($ data , $ attributeKey )) && isset ($ relation_field ['pivot ' ]) && $ relation_field ['pivot ' ] !== true ) {
223223 $ key = implode ('.relations. ' , explode ('. ' , $ this ->getOnlyRelationEntity ($ relation_field )));
224224 $ fieldData = Arr::get ($ relationData , 'relations. ' .$ key , []);
225225 if (! array_key_exists ('model ' , $ fieldData )) {
You can’t perform that action at this time.
0 commit comments