Hide "Enter username to pay/finish" when cart is emptied.

This commit is contained in:
Juerd Waalboer 2013-02-26 13:00:42 +01:00
parent 2575468cf3
commit 3f32f020c8

View file

@ -23,6 +23,7 @@ sub hook_plugin_fail {
sub hook_cart_changed {
my ($class, $cart) = @_;
$cart->size or return;
$cart->display(" ");
say "Enter username to pay/finish or 'abort' to abort.\n";
}