aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-01 17:35:08 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-01 17:35:08 +0000
commit5942776c8449c4508d7c0b40599e1b1891341c3f (patch)
tree2014bfdbef8a61e4737a492919475024745a185d /engine/lib/relationships.php
parent4bc7cfc36198818bb7f35013a86154b22efd3b3a (diff)
downloadelgg-5942776c8449c4508d7c0b40599e1b1891341c3f.tar.gz
elgg-5942776c8449c4508d7c0b40599e1b1891341c3f.tar.bz2
Fixed notification subject
git-svn-id: https://code.elgg.org/elgg/trunk@1252 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 b7008409c..1e8e2fc9e 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -656,7 +656,7 @@
$user_two = get_entity($object->guid_two);
// Notify target user
- return notify_user($object->guid_two, $object->guid_one, sprintf(elgg_echo('friend:newfriend:subject'), $user_two->name),
+ 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)
);
}