aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/entities.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 3f0f46133..b7ffbc3da 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -310,6 +310,7 @@
$tmp->attributes = $this->attributes;
$tmp->attributes['uuid'] = guid_to_uuid($this->getGUID());
$tmp->attributes['owner_uuid'] = guid_to_uuid($this->owner_guid);
+ $tmp->attributes['subtype'] = get_subtype_from_id($tmp->attributes['subtype']);
return $tmp;
}