I set a trigger to send me an email if a user posted a comment to my site. When I tested it the trigger worked but gave the error: notice: Undefined index: account in {mysite}/modules/system/system.module on line 1649.

The function seems to just be missing a break; in the switch. I added the break and retested successfully.

CommentFileSizeAuthor
comment-action.patch683 bytesjody lynn

Comments

jody lynn’s picture

Priority: Normal » Critical

I'm setting this to criticial because it is a serious bug and needs attention. Feel free to switch back if you disagree.

gdevlugt’s picture

Patch seems to work for me on D6 head and fix the problem.

webchick’s picture

Status: Needs review » Reviewed & tested by the community
gábor hojtsy’s picture

Version: 6.x-dev » 7.x-dev

Committed. Also RTBC for 7.x.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks, Lynn.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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