aboutsummaryrefslogtreecommitdiff
path: root/mod/messageboard/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messageboard/start.php')
-rw-r--r--mod/messageboard/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messageboard/start.php b/mod/messageboard/start.php
index b1d5f5b63..88d7c72f3 100644
--- a/mod/messageboard/start.php
+++ b/mod/messageboard/start.php
@@ -73,7 +73,7 @@ function messageboard_add($poster, $owner, $message, $access_id = ACCESS_PUBLIC)
elgg_echo('messageboard:email:body'),
$poster->name,
$message,
- $CONFIG->wwwroot . "pg/messageboard/" . $owner->username,
+ elgg_get_site_url() . "pg/messageboard/" . $owner->username,
$poster->name,
$poster->getURL()
);