diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/relationships.php | 4 |
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, |