From 60016b0a8fd43ff2ed0944bf5fa0757fd4116d85 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 14 Jul 2014 17:01:52 +0200 Subject: [PATCH] Bad variable reference in lib/mail.php --- lib/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mail.php b/lib/mail.php index 15b2351b43..39714c5fc0 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -687,7 +687,7 @@ function mail_notify_fave(User $rcpt, Profile $sender, Notice $notice) return; } - $bestname = $profile->getBestName(); + $bestname = $sender->getBestName(); common_switch_locale($rcpt->language);