aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 16:02:05 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 16:02:05 +0000
commit6978d6e9e857afccc53fc0a56da5ec27061037c7 (patch)
tree6561141a60ca5c7aaf51fc0be078462ec4380f94 /engine
parent63993dc0868289190b9cb36b8f0e7dbc7a794e57 (diff)
downloadelgg-6978d6e9e857afccc53fc0a56da5ec27061037c7.tar.gz
elgg-6978d6e9e857afccc53fc0a56da5ec27061037c7.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Subtype is converted to its exportable string version git-svn-id: https://code.elgg.org/elgg/trunk@371 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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;
}