Skip to content

Commit

Permalink
silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
monken committed Mar 20, 2012
1 parent 22dcea3 commit 0631939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Controller/Activity.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sub index : Path {
if ( my $requires = $req->parameters->{requires} ) {
push( @$q, { term => { "release.dependency.module" => $requires } } );
}
if ( $req->parameters->{f} eq 'n' ) {
if ( $req->parameters->{f} && $req->parameters->{f} eq 'n' ) {
push(
@$q,
@{ $c->model('API::Release')
Expand Down

0 comments on commit 0631939

Please sign in to comment.