]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/mail.php
Consistently use "email-notify_fave" syntax for preference
[quix0rs-gnu-social.git] / lib / mail.php
index 39714c5fc03cc6400094d361b2a1a09244a286e2..507b9254d3a4a64732493e10d29a0025add08f04 100644 (file)
@@ -683,7 +683,7 @@ function mail_notify_fave(User $rcpt, Profile $sender, Notice $notice)
         return;
     }
 
-    if (!$rcpt->getPref('notify', 'email_fave', 1)) {
+    if (!$rcpt->getPref('email', 'notify_fave', 1)) {
         return;
     }