Skip to content

Commit

Permalink
Explicit precendence
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Sep 4, 2024
1 parent 0324fa4 commit 04fc40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CGI/Info.pm
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ sub _get_params

my %rc;

if(scalar(@_) % 2 == 0) {
if((scalar(@_) % 2) == 0) {
%rc = @_;
} elsif(scalar(@_) == 1) {
if(defined($default)) {
Expand Down

0 comments on commit 04fc40f

Please sign in to comment.