From b095533e7494e95cfcf39182eb9fe6e646678e8b Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Thu, 12 May 2005 20:41:19 +0000 Subject: [PATCH] - fix [ 1177020 ] Preview, then Save a Post -subscribers get two notifications --- lib/WebGUI/Asset/Post.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Post.pm b/lib/WebGUI/Asset/Post.pm index 253dee6c2..140aa6c88 100644 --- a/lib/WebGUI/Asset/Post.pm +++ b/lib/WebGUI/Asset/Post.pm @@ -756,7 +756,7 @@ sub setStatusApproved { unless ($self->isPoster) { WebGUI::MessageLog::addInternationalizedEntry($self->get("ownerUserId"),'',$self->getUrl,579); } - $self->notifySubscribers; + $self->notifySubscribers unless ($session{form}{func} eq 'add'); }