statiegeld: don't allow manual entry of hidden addons
This commit is contained in:
parent
8a3a76e0d0
commit
4603a1569f
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ sub command ($invocant, $cart, $command, @) {
|
|||
defined &RevBank::Plugin::products::read_products
|
||||
or die "statiegeld plugin requires products plugin";
|
||||
|
||||
$command =~ /^\+/ and return NEXT;
|
||||
|
||||
my $sg = statiegeld_product($command) // return NEXT;
|
||||
|
||||
if (not $sg) {
|
||||
|
|
Loading…
Add table
Reference in a new issue