aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/extender.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-17 10:44:26 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-17 10:44:26 +0000
commitaf2e2ae369e0ab13a99b83a928363f6d7f48f715 (patch)
tree373850213656c96cb07a726f00509f2c5e774f7f /engine/lib/extender.php
parentddbe1c9698031a8017e073048bc48d5268129c78 (diff)
downloadelgg-af2e2ae369e0ab13a99b83a928363f6d7f48f715.tar.gz
elgg-af2e2ae369e0ab13a99b83a928363f6d7f48f715.tar.bz2
Closes #160
git-svn-id: https://code.elgg.org/elgg/trunk@1452 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r--engine/lib/extender.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php
index b2482cd80..85908d62a 100644
--- a/engine/lib/extender.php
+++ b/engine/lib/extender.php
@@ -123,7 +123,10 @@
public function export()
{
$type = $this->attributes['type'];
- $uuid = guid_to_uuid($this->entity_guid). $type . "/{$this->id}/";
+ if ($type == 'volatile')
+ $uuid = guid_to_uuid($this->entity_guid). $type . "/{$this->name}/";
+ else
+ $uuid = guid_to_uuid($this->entity_guid). $type . "/{$this->id}/";
$meta = new ODDMetadata($uuid, guid_to_uuid($this->entity_guid), $this->attributes['name'], $this->attributes['value'], $type, guid_to_uuid($this->owner_guid));
$meta->setAttribute('published', date("r", $this->time_created));