diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index 175e3bcbe..9b88b7e5e 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -1122,7 +1122,7 @@ sub verifyAllPrerequisites { foreach my $oldMsg (@$msgLoop) { $add = 0 if $oldMsg->{productId} eq $newMsg->{productId}; } - push (@$msgLoop,$newMsg) if $update; + push (@$msgLoop,$newMsg) if $add; } $lastResultsSize = scalar(keys %$lastResults); }