Permalink
Browse files

silence warning

  • Loading branch information...
1 parent 22dcea3 commit 063193938a2a5c702d81f90d7b72d0dcce1cbb9b @monken monken committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/MetaCPAN/Web/Controller/Activity.pm
@@ -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')

0 comments on commit 0631939

Please sign in to comment.