Commit 60016b0a authored by mmn's avatar mmn

Bad variable reference in lib/mail.php

parent b0c4a359
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment