Commit b6462475 authored by greggles's avatar greggles

Issue #974338 by tobby, bricel | David_Rothstein: notice and node author doesn't get notified

parent 6a2a2805
......@@ -425,7 +425,7 @@ function _comment_notify_mailalert($comment) {
// Send to a subscribed author if they are not the current commenter
$author = user_load($node->uid);
if (!empty($author->comment_notify_settings->node_notify) && $author->node_notify_mailalert == 1 && $user->uid != $author->uid && node_access('view', $node, $author)) {
if (!empty($author->comment_notify_settings->node_notify) && $author->comment_notify_settings->node_notify == 1 && $user->uid != $author->uid && node_access('view', $node, $author)) {
// Get the author's language.
$language = user_preferred_language($author);
$raw_values = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment