- fix [ 1177020 ] Preview, then Save a Post -subscribers get two notifications

This commit is contained in:
Matthew Wilson 2005-05-12 20:41:19 +00:00
parent 74b83adc95
commit b095533e74

View file

@ -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');
}