]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bad variable reference in lib/mail.php
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 14 Jul 2014 15:01:52 +0000 (17:01 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 14 Jul 2014 15:01:52 +0000 (17:01 +0200)
lib/mail.php

index 15b2351b4356d256b3550f310d069e6882fad887..39714c5fc03cc6400094d361b2a1a09244a286e2 100644 (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);