]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Favorite/FavoritePlugin.php
$this out of context (use $rcpt)
[quix0rs-gnu-social.git] / 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;
     }