summaryrefslogtreecommitdiffstats
path: root/app/class/object.class.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-04-09 23:39:33 -0400
committerMalf Furious <m@lfurio.us>2017-04-09 23:39:33 -0400
commit3b47c5f3876b8c46d199c615e95fe671293be7b7 (patch)
treeea6e3f0645bc9bdab888b5871bab82aff0a1db9d /app/class/object.class.php
parentcc1f573a276bd5f022831f837bb9c1234df56ad9 (diff)
parent003f48ae880ad61eec65d9816d485457c45c4b11 (diff)
downloadscrott-3b47c5f3876b8c46d199c615e95fe671293be7b7.tar.gz
scrott-3b47c5f3876b8c46d199c615e95fe671293be7b7.zip
Merge branch 'bug/saveObj' into dev
Diffstat (limited to '')
-rw-r--r--app/class/object.class.php2
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();
}
/*