From 3172d80347156b4d64061ad3eb1214e95fd0f7c4 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 9 Apr 2017 23:15:20 -0400 Subject: Fix bugs in object class Added missing calls to function saveObj() where $this is mutated. --- app/class/object.class.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app') 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(); } /* -- cgit v1.2.3