Compare commits
1
Commits
29d05b84e6
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2084c161d |
+1
-1
@@ -670,7 +670,7 @@ abstract class Entity
|
|||||||
if (in_array($relation, $possibleRelations)) {
|
if (in_array($relation, $possibleRelations)) {
|
||||||
$this->$relation = $this->$relation()->get();
|
$this->$relation = $this->$relation()->get();
|
||||||
}
|
}
|
||||||
if ($this->$relation) {
|
if ($this->$relation && $propagate) {
|
||||||
$this->$relation->with($propagate);
|
$this->$relation->with($propagate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user