While using the organic module, I noticed comments going into the moderation queue were causing subscription notices to be sent out.

I tracked the problem down to the fact that $edit['status'] was not set and therefore og thought its status was 0 (PUBLISHED) when it was actullay 1 (NOT_PUBLISHED). This patch fixes this problem.

CommentFileSizeAuthor
comment_35.patch622 bytesSteve Dondley

Comments

drumm’s picture

Status: Needs review » Needs work

Looks like we could just remove $status and use $edit['status'] everywhere.

moshe weitzman’s picture

the one line patch submitted fixes the bug. code cleanup could come from a different patch. my .02

killes@www.drop.org’s picture

Version: 4.7.2 » 5.x-dev

moving

brianV’s picture

This is fixed in D6, and not applicable in D7.

dpearcefl’s picture

Status: Needs work » Closed (won't fix)

Considering the lack of activity on this issue and that Drupal v5 is no longer supported by fixes or patches, I am going to close this ticket.