]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
$this out of context (use $rcpt)
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Feb 2015 20:15:37 +0000 (21:15 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Feb 2015 20:15:37 +0000 (21:15 +0100)
plugins/Favorite/FavoritePlugin.php

index dabc6c5e81365c3539602d5c4e01ffcff3d9451b..fc11ccbd9532d05f4da29f19be63d2f6e7648e51 100644 (file)
@@ -525,7 +525,7 @@ class FavoritePlugin extends ActivityHandlerPlugin
  */
 function mail_notify_fave(User $rcpt, Profile $sender, Notice $notice)
 {
-    if (!$rcpt->receivesEmailNotifications() || !$rcpt->getPref('email', 'notify_fave', $this->email_notify_fave)) {
+    if (!$rcpt->receivesEmailNotifications() || !$rcpt->getPref('email', 'notify_fave', $rcpt->email_notify_fave)) {
         return;
     }