From: Mikael Nordfeldth Date: Tue, 3 Feb 2015 20:15:37 +0000 (+0100) Subject: $this out of context (use $rcpt) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f7a305b2aa4305dc9696bb6fd5775b847dfea87;p=quix0rs-gnu-social.git $this out of context (use $rcpt) --- diff --git a/plugins/Favorite/FavoritePlugin.php b/plugins/Favorite/FavoritePlugin.php index dabc6c5e81..fc11ccbd95 100644 --- a/plugins/Favorite/FavoritePlugin.php +++ b/plugins/Favorite/FavoritePlugin.php @@ -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; }