Fix bug: statiegeld_ignore would stay true for market products
This commit is contained in:
parent
dd00f56fda
commit
701f9541cd
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ sub command { # args via @_ for mutable alias
|
||||||
|
|
||||||
sub hook_added_entry ($class, $cart, $entry, @) {
|
sub hook_added_entry ($class, $cart, $entry, @) {
|
||||||
$S or return;
|
$S or return;
|
||||||
$cart->{statiegeld_ignore} and return;
|
delete $cart->{statiegeld_ignore} and return;
|
||||||
$entry->has_attribute('plugin') or return;
|
$entry->has_attribute('plugin') or return;
|
||||||
|
|
||||||
if ($entry->attribute('plugin') eq 'market') {
|
if ($entry->attribute('plugin') eq 'market') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue