HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Email notification on user comment

edited January 2012 in Feedback


The "Notify me when people comment on a discussion." option does not work.
In file applications/vanilla/models/class.commentmodel.php, line 785:
$Data = $this->SQL->GetWhere('UserMeta', array('Name' => 'Preferences.Email.NewDiscussion'))->ResultArray();
must be changed by
$Data = $this->SQL->GetWhere('UserMeta', array('Name' => 'Preferences.Email.NewComment'))->ResultArray();

With this change, option work, but notifications are sended twice. The line 818 should be removed because notification is sended just before on line 811.


Sign In or Register to comment.