diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-26 20:20:14 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-26 20:20:14 +0000 |
commit | 8bd1aa1b15e4a42b9a56e607a6548456c9fd8986 (patch) | |
tree | 40abc3a929bf0d3b98b21f645ce93e903c303839 | |
parent | 3b7a8e97f27d35874c5b339ef56a41523508f739 (diff) | |
download | elgg-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
-rw-r--r-- | engine/lib/relationships.php | 2 |
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()) ); } } |