Fix double my in Shop/Ship.pm

This commit is contained in:
Colin Kuskie 2010-04-26 16:07:02 -07:00
parent a26f85c8c0
commit e116354946

View file

@ -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;