aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions')
-rw-r--r--mod/profile/actions/addcomment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/actions/addcomment.php b/mod/profile/actions/addcomment.php
index 0e241db0a..86d3cbd47 100644
--- a/mod/profile/actions/addcomment.php
+++ b/mod/profile/actions/addcomment.php
@@ -26,7 +26,7 @@ if ($user && !empty($message_content)) {
elgg_echo('profile:comment:body'),
get_loggedin_user()->name,
$message_content,
- $CONFIG->wwwroot . "pg/profile/" . $user->username,
+ elgg_get_site_url() . "pg/profile/" . $user->username,
get_loggedin_user()->name,
get_loggedin_user()->getURL()
)