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:
phpnut 2007-07-06 17:08:44 +00:00
parent aca00e47c8
commit 558c6eb00a

View file

@ -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);
} }