From: Mikael Nordfeldth Date: Mon, 14 Jul 2014 15:01:52 +0000 (+0200) Subject: Bad variable reference in lib/mail.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=60016b0a8fd43ff2ed0944bf5fa0757fd4116d85;p=quix0rs-gnu-social.git Bad variable reference in lib/mail.php --- 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);