statiegeld: don't allow manual entry of hidden addons

This commit is contained in:
Juerd Waalboer 2023-01-20 18:37:00 +01:00
parent 8a3a76e0d0
commit 4603a1569f

View file

@ -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) {