From 897f1caf25f03be896c554c1eb385549f0fe12f2 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Sat, 13 May 2006 14:26:33 +0000 Subject: [PATCH] silly typo --- lib/WebGUI/Asset/Wobject/EventManagementSystem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm index 3fd677a56..89fa22574 100644 --- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm +++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm @@ -2107,7 +2107,7 @@ Method to remove some items from the cart sub removePurchaseFromCart { my $self = shift; my $purchaseId = shift; - my @eventsToSubtract = $self->session->db->buildArray("select r.productId from EventManagementSystem_registrations as r, EventManagementSystem_purchases as p, where r.purchaseId=? and (p.transactionId='' or p.transactionId is null) and p.purchaseId=r.purchaseId",[$purchaseId]); + my @eventsToSubtract = $self->session->db->buildArray("select r.productId from EventManagementSystem_registrations as r, EventManagementSystem_purchases as p where r.purchaseId=? and (p.transactionId='' or p.transactionId is null) and p.purchaseId=r.purchaseId",[$purchaseId]); my $shoppingCart = WebGUI::Commerce::ShoppingCart->new($self->session); my ($items, $nothing) = $shoppingCart->getItems; foreach my $event (@eventsToSubtract) {