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 452d6a3 commit 7e76970Copy full SHA for 7e76970
RelationTrait.php
@@ -63,6 +63,7 @@ public function saveAll() {
63
$isCompositePK = (count($relPKAttr) > 1);
64
/* @var $relModel ActiveRecord */
65
foreach ($records as $index => $relModel) {
66
+ $notDeletedFK = [];
67
foreach ($link as $key => $value) {
68
$relModel->$key = $this->$value;
69
$notDeletedFK[$key] = "$key = '{$this->$value}'";
0 commit comments