Bad variable reference in lib/mail.php

This commit is contained in:
Mikael Nordfeldth 2014-07-14 17:01:52 +02:00
parent b0c4a35940
commit 60016b0a8f

View File

@ -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);