fixed E_NOTICE undefined variable in CakeCliReporter::paintException

This commit is contained in:
Toni Uebernickel 2010-10-19 11:39:06 +02:00 committed by Juan Basso
parent 7c296211ef
commit b04f87f62d

View file

@ -98,7 +98,7 @@ class CakeCliReporter extends CakeBaseReporter {
*/
function paintException($exception) {
parent::paintException($exception);
$message .= sprintf('Unexpected exception of type [%s] with message [%s] in [%s] line [%s]',
$message = sprintf('Unexpected exception of type [%s] with message [%s] in [%s] line [%s]',
get_class($exception),
$exception->getMessage(),
$exception->getFile(),