Skip to content
This repository
Browse code

Merge pull request #630 from marcghorayeb/response-code-fix

Fixed tertiary expression for response header codes.
  • Loading branch information...
commit c46bd6febca367e9095c228e18b289745a50339d 2 parents 0809552 + 2298c1a
Nate Abele nateabele authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  action/Response.php
2  action/Response.php
@@ -146,7 +146,7 @@ protected function _writeHeader($header, $code = null) {
146 146 array_map(function($h) { header($h, false); }, $header);
147 147 return;
148 148 }
149   - $code ? header($header, true) : header($header, true, $code);
  149 + $code ? header($header, true, $code) : header($header, true);
150 150 }
151 151 }
152 152

0 comments on commit c46bd6f

Please sign in to comment.
Something went wrong with that request. Please try again.