We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8edd534 commit fd140fbCopy full SHA for fd140fb
RelationTrait.php
@@ -34,6 +34,7 @@ public function loadAll($POST)
34
$relPKAttr = $relModelClass::primaryKey();
35
$isManyMany = count($relPKAttr) > 1;
36
if ($isManyMany) {
37
+ $container = [];
38
foreach ($value as $relPost) {
39
if (!empty(array_filter($relPost))) {
40
$condition = [];
0 commit comments