diff options
author | Malf Furious <m@lfurio.us> | 2017-04-09 23:15:20 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-04-09 23:15:20 -0400 |
commit | 3172d80347156b4d64061ad3eb1214e95fd0f7c4 (patch) | |
tree | 971324db2b8ec11843b3ff28679dda94ac7bdce5 /app | |
parent | cc1f573a276bd5f022831f837bb9c1234df56ad9 (diff) | |
download | scrott-3172d80347156b4d64061ad3eb1214e95fd0f7c4.tar.gz scrott-3172d80347156b4d64061ad3eb1214e95fd0f7c4.zip |
Fix bugs in object class
Added missing calls to function saveObj() where $this is mutated.
Diffstat (limited to 'app')
-rw-r--r-- | app/class/object.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/class/object.class.php b/app/class/object.class.php index dc988ae..14ab891 100644 --- a/app/class/object.class.php +++ b/app/class/object.class.php @@ -80,6 +80,7 @@ class object extends table public function setOwner(agent $owner) : void { $this->owner = $owner->guid; + $this->saveObj(); } /* @@ -101,6 +102,7 @@ class object extends table public function setParent(object $parent) : void { $this->parent = $parent->guid; + $this->saveObj(); } /* |