I think that mailcomment_notifications_message_alter is checking for the wrong event type. It is checking for $event->type=='node' and it should be checking for event 'node-post'.

Here's the broken code:
if (($event->type == 'node' || $event->type == 'node-comment') && !empty($event->objects['node'])) {

Here's the fixed code:
if (($event->type == 'node-post' || $event->type == 'node-comment') && !empty($event->objects['node'])) {
Patch to follow.

CommentFileSizeAuthor
#1 mailcomment-1355106-1.patch643 bytespereljon

Comments

pereljon’s picture

StatusFileSize
new643 bytes

Patch attached.

danepowell’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

fixed code change