From cee5c563c410ac5b657ee613b50f38cfcab172be Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Sat, 13 May 2006 15:54:30 +0000 Subject: [PATCH] shouldn't be there --- lib/WebGUI/Asset/Wobject/EventManagementSystem.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index 01ff83341..55e6e9aca 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -2416,7 +2416,6 @@ sub saveRegistration { $shoppingCart->add($eventId, 'Event'); $addedAny = 1; } - if ($addedAny) { #Our item plug-in needs to be able to associate these records with the result of the payment attempt my $counter = 0; while (1) { @@ -2434,7 +2433,7 @@ sub saveRegistration { $self->session->scratch->delete('currentBadgeId'); $self->session->scratch->delete('currentMainEvent'); $self->session->scratch->delete('currentPurchaseCounter'); - } + # if ($self->session->form->get('checkoutNow')) { # srand; # $self->session->http->setRedirect($self->getUrl("op=viewCart;something=".rand(44345552)));