mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix reversed arguments in error message.
This commit is contained in:
parent
9c3089796f
commit
cb45821c43
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue