diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index 9b88b7e5e..c7fc11317 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -1115,8 +1115,8 @@ sub verifyAllPrerequisites { return [] unless $lastResultsSize; until ($currentResultsSize == $lastResultsSize) { $currentResultsSize = $lastResultsSize; - my $newMsgLoop = []; - ($lastResults,$newMsgLoop) = {%$lastResults,%{$self->verifyEventPrerequisites($lastResults,1)}}; + my (%hashTemp,$newMsgLoop) = %{$self->verifyEventPrerequisites($lastResults,1)} + $lastResults = {%$lastResults,%hashTemp}; foreach my $newMsg (@$newMsgLoop) { my $add = 1; foreach my $oldMsg (@$msgLoop) {