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.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index 142861a97..8e9768a8c 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -117,9 +117,7 @@
*/
public function export()
{
- global $CONFIG;
-
- $uuid = $CONFIG->wwwroot . "odd/{$this->guid_one}/relationship/{$this->id}/";
+ $uuid = guid_to_uuid($this->guid_one) . "relationship/{$this->id}/";
$relationship = new ODDRelationship(
guid_to_uuid($this->guid_one),
$this->relationship,