Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmari committed Jul 23, 2012
1 parent 201e0a1 commit 2a66dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Catalyst.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2800,7 +2800,7 @@ sub apply_default_middlewares {
builder => sub { Plack::Middleware::IIS7KeepAliveFix->wrap($_[0]) },
condition => sub {
my ($env) = @_;
return unless $env->{SERVER_SOFTWARE} && $env->{SERVER_SOFTWARE} =~ m!IIS\/7\.[0-9]!; 1; }, );
return $env->{SERVER_SOFTWARE} && $env->{SERVER_SOFTWARE} =~ m!IIS/7\.[0-9]!;
},
);

Expand Down

0 comments on commit 2a66dd0

Please sign in to comment.