From 3c2fc67c9e66b7e04fc1ae171b9c0cd2eb8e7f8e Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Thu, 28 Feb 2013 13:36:00 +0100 Subject: [PATCH] There is no Pfand. --- plugins/pfand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pfand b/plugins/pfand index dd4e9d6..e931c67 100644 --- a/plugins/pfand +++ b/plugins/pfand @@ -40,7 +40,7 @@ sub hook_add { return if exists $item->{is_pfand}; return if not exists $item->{product_id}; - my $pfand = _read_pfand->{ $item->{product_id} }; + my $pfand = _read_pfand->{ $item->{product_id} } or return; $cart->add(undef, -$pfand, "Pfand"); }