diff options
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r-- | engine/lib/extender.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php index 0f7ab24ea..845cfd85f 100644 --- a/engine/lib/extender.php +++ b/engine/lib/extender.php @@ -229,9 +229,10 @@ function get_extender_url(ElggExtender $extender) { if ($type == 'volatile') { $nameid == $extender->name; } - $url = $CONFIG->wwwroot . "export/$view/$guid/$type/$nameid/"; + $url = "export/$view/$guid/$type/$nameid/"; } - return $url; + + return elgg_normalize_url($url); } /** Register the hook */ |