Skip to content

Commit 79e3abd

Browse files
committed
fixing unquote $notDeletedPK[]
1 parent 0132c04 commit 79e3abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RelationTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function saveAll() {
8080
$notDeletedPK[$attr][] = "'$value'";
8181
}
8282
} else {
83-
$notDeletedPK[] = $relModel->primaryKey;
83+
$notDeletedPK[] = "'$relModel->primaryKey'";
8484
}
8585
}
8686
}

0 commit comments

Comments
 (0)