Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed tertiary expression for response header codes.

  • Loading branch information...
commit 2298c1a6c1f2f6513e0e770fc7b45cc129d8cd2f 1 parent c3419a4
@marcghorayeb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  action/Response.php
View
2  action/Response.php
@@ -146,7 +146,7 @@ protected function _writeHeader($header, $code = null) {
array_map(function($h) { header($h, false); }, $header);
return;
}
- $code ? header($header, true) : header($header, true, $code);
+ $code ? header($header, true, $code) : header($header, true);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.