diff options
Diffstat (limited to '')
-rw-r--r-- | app/class/object.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/class/object.class.php b/app/class/object.class.php index 1fbe923..dc988ae 100644 --- a/app/class/object.class.php +++ b/app/class/object.class.php @@ -91,7 +91,8 @@ class object extends table if (!isset($this->parent) || $this->parent == "") return NULL; - return new object($this->parent); + $parent = new object($this->parent); + return new $parent->objtype($parent->guid); } /* |