From 8bd1aa1b15e4a42b9a56e607a6548456c9fd8986 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 26 Feb 2010 20:20:14 +0000 Subject: Refs #1553: Corrected profile link in friending notification. git-svn-id: http://code.elgg.org/elgg/trunk@3974 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/relationships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/relationships.php') 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()) ); } } -- cgit v1.2.3