Compare commits

..
1 Commits
Author SHA1 Message Date
ahwelp f2084c161d Don't try to propagate when there is nothin to propagate 2026-08-24 14:09:58 -03:00
+1 -1
View File
@@ -670,7 +670,7 @@ abstract class Entity
if (in_array($relation, $possibleRelations)) {
$this->$relation = $this->$relation()->get();
}
if ($this->$relation) {
if ($this->$relation && $propagate) {
$this->$relation->with($propagate);
}
}