aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-26 20:20:14 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-26 20:20:14 +0000
commit8bd1aa1b15e4a42b9a56e607a6548456c9fd8986 (patch)
tree40abc3a929bf0d3b98b21f645ce93e903c303839 /engine/lib/relationships.php
parent3b7a8e97f27d35874c5b339ef56a41523508f739 (diff)
downloadelgg-8bd1aa1b15e4a42b9a56e607a6548456c9fd8986.tar.gz
elgg-8bd1aa1b15e4a42b9a56e607a6548456c9fd8986.tar.bz2
Refs #1553: Corrected profile link in friending notification.
git-svn-id: http://code.elgg.org/elgg/trunk@3974 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index c67596837..f813cacba 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -1057,7 +1057,7 @@ function relationship_notification_hook($event, $object_type, $object) {
// Notify target user
return notify_user($object->guid_two, $object->guid_one, sprintf(elgg_echo('friend:newfriend:subject'), $user_one->name),
- sprintf(elgg_echo("friend:newfriend:body"), $user_one->name, $CONFIG->site->url . "pg/profile/" . $user_one->username)
+ sprintf(elgg_echo("friend:newfriend:body"), $user_one->name, $user_one->getURL())
);
}
}