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 41ddc94 commit 9c6f805Copy full SHA for 9c6f805
src/lib/Models/Traits/RelateToSpace.php
@@ -14,6 +14,6 @@ public function setSpaceKey($key){
14
public function relation($parent=null):void{
15
parent::relation($parent);
16
$this->space_key = null;
17
- $this->space_key = $this->space_key ?? $parent?->spaceKey ?? null;
+ $this->space_key = $this->spaceKey ?? $parent->space_key ?? $parent?->spaceKey ?? null;
18
}
19
0 commit comments