Skip to content

Commit

Permalink
Early exit from find_options_type if no sku provided
Browse files Browse the repository at this point in the history
  • Loading branch information
David Christensen committed Jun 14, 2017
1 parent 699db86 commit 2163a7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Vend/Options.pm
Expand Up @@ -68,6 +68,8 @@ sub find_options_type {

my $sku = $item->{mv_sku} || $item->{code};

return unless defined $sku && $sku ne '';

$opt = get_option_hash($opt);

my $module;
Expand Down

0 comments on commit 2163a7c

Please sign in to comment.