Consistently use "email-notify_fave" syntax for preference

This commit is contained in:
Mikael Nordfeldth
2014-07-27 23:25:49 +02:00
parent 2d0c7c2c99
commit d11ce2ef3b
2 changed files with 4 additions and 4 deletions

View 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;
}