From e116354946fad903a905c902d8bad96cbe47bb30 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 26 Apr 2010 16:07:02 -0700 Subject: [PATCH] Fix double my in Shop/Ship.pm --- lib/WebGUI/Shop/Ship.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Shop/Ship.pm b/lib/WebGUI/Shop/Ship.pm index ca7217a24..37e7df52c 100644 --- a/lib/WebGUI/Shop/Ship.pm +++ b/lib/WebGUI/Shop/Ship.pm @@ -109,7 +109,7 @@ sub getOptions { next SHIPPER unless $shipper->canUse; my ($price, $hasPrice); if ($cart->get('shippingAddressId')) { - my $price = eval { $shipper->calculate($cart) }; + $price = eval { $shipper->calculate($cart) }; if (my $e = WebGUI::Error->caught()) { $self->session->log->warn($e->error); next SHIPPER;