diff options
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r-- | engine/lib/extender.php | 5 |
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)); |