removed a check that shouldn't be happening, at least not in this method.

This commit is contained in:
JT Smith 2009-03-30 18:41:44 +00:00
parent 814231b966
commit f68d979048

View file

@ -503,10 +503,6 @@ sub readyForCheckout {
my $address = eval{$self->getShippingAddress};
return 0 if WebGUI::Error->caught;
# Check if the ship driver is chosen and existant
my $ship = eval {$self->getShipper};
return 0 if WebGUI::Error->caught;
# Check if the cart has items
return 0 unless scalar @{ $self->getItems };