Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1770 from metacpan/mickey/fix_warning_uninitialized
fix warning: check uninitialized value - thanks @mickeyn
  • Loading branch information
ranguard committed Sep 6, 2016
2 parents 0f45d96 + ab22228 commit b97dafc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/MetaCPAN/Web/Controller/Release.pm
Expand Up @@ -198,7 +198,8 @@ sub _files_to_categories {
authorized => $_->{authorized}
},
grep {
$_->{name} ne $f->{documentation}
defined $_->{name}
and $_->{name} ne $f->{documentation}
and $_->{indexed}
and $_->{authorized}
} @modules;
Expand Down

0 comments on commit b97dafc

Please sign in to comment.