aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index f43a46c54..61234695d 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -127,7 +127,7 @@
*/
public function export()
{
- $uuid = guid_to_uuid($this->guid_one) . "relationship/{$this->id}/";
+ $uuid = get_uuid_from_object($this);
$relationship = new ODDRelationship(
guid_to_uuid($this->guid_one),
$this->relationship,