Fix reversed arguments in error message.

This commit is contained in:
mark_story 2014-08-08 23:29:29 -04:00
parent 9c3089796f
commit cb45821c43

View file

@ -522,7 +522,7 @@ class CakeResponse {
protected function _sendHeader($name, $value = null) {
if (headers_sent($filename, $linenum)) {
throw new CakeException(
__d('cake_dev', 'Headers already sent in %d on line %s', $linenum, $filename)
__d('cake_dev', 'Headers already sent in %s on line %s', $filename, $linenum)
);
}
if ($value === null) {