Closed (duplicate)
Project:
Comment Notify
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Oct 2009 at 13:19 UTC
Updated:
2 Oct 2009 at 15:50 UTC
In line 415 of comment_notify.module it erroneusly uses $alert->uid when $alert has not been populated.
It can be corrected using the real UID from the node creator that is the UID of the addressee to be notified.
so changing:
line 415: '!edit_uri' => url('user/'. $alert->uid .'/edit', array('absolute' => TRUE))
to:
line 415 '!edit_uri' => url('user/'. $node->uid .'/edit', array('absolute' => TRUE))
fix the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| comment_notify.module.patch | 611 bytes | DREAMER_ES |
Comments
Comment #1
gregglesThanks - this patch no longer applies and I think (hope?) it's because it was fixed.
See #434414: node author notification not getting notified during anonymous comments and link to edit page not valid for the details on the fix.