mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Adding fix for #2866, fixes print_r() missing second parameter in object.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5383 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
aca00e47c8
commit
558c6eb00a
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class Object {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_string($msg)) {
|
if (!is_string($msg)) {
|
||||||
$msg = print_r ($msg);
|
$msg = print_r ($msg, true);
|
||||||
}
|
}
|
||||||
return $this->_log->write($type, $msg);
|
return $this->_log->write($type, $msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue