Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed tertiary expression for response header codes. #630

Merged
merged 1 commit into from Sep 6, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -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);
}
}