Skip to content

Commit

Permalink
Merge 0af994c into 2a0e4ad
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Feb 20, 2020
2 parents 2a0e4ad + 0af994c commit 5b927ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WWW/Mechanize.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1953,7 +1953,7 @@ sub tick {
my $set = @_ ? shift : 1; # default to 1 if not passed

# loop though all the inputs
my $index = 0;
my $index = 1;
while ( my $input = $self->current_form->find_input( $name, 'checkbox', $index ) ) {
# Can't guarantee that the first element will be undef and the second
# element will be the right name
Expand Down

0 comments on commit 5b927ca

Please sign in to comment.