When you use a module like the smtp module to handle emails, an error occurs when sending emails, something like parameter array not set, reason, it seems, is that the drupal_mail function in the comment notify module doesn't provide a header array. I've fixed that with an empty header array.

Second thing is that the $comment was used as an array instead of an object in hook_comment, op = publish (comment is an object), this gave a fatal error. You can check this by approving multiple (or single probably) comments in the approval queue, you will get the fatal error.

CommentFileSizeAuthor
comment_notify.patch745 bytesAshraf Amayreh

Comments

Christoph C. Cemper’s picture

thanks much for your help! looking good - I'll add you to the comitter list as discussed via email

best,christoph

Ashraf Amayreh’s picture

Assigned: Unassigned » Ashraf Amayreh
Status: Reviewed & tested by the community » Closed (fixed)

committed and release created... closing...