the index parameter wasn't used and isn't required
authorTony Cook <tony@develop-help.com>
Sat, 18 Apr 2020 03:08:21 +0000 (13:08 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 18 Apr 2020 03:08:21 +0000 (13:08 +1000)
site/cgi-bin/modules/BSE/Cart.pm

index 8c1c6c8..5923e95 100644 (file)
@@ -1001,7 +1001,7 @@ display - display of the option value
 =cut
 
 sub option_list {
 =cut
 
 sub option_list {
-  my ($self, $index) = @_;
+  my ($self) = @_;
 
   my @options = $self->product->option_descs(BSE::Cfg->single, $self->{options});
 
 
   my @options = $self->product->option_descs(BSE::Cfg->single, $self->{options});