Skip to content

Commit

Permalink
fixed E_NOTICE undefined variable in CakeCliReporter::paintException
Browse files Browse the repository at this point in the history
  • Loading branch information
havvg authored and jrbasso committed Oct 21, 2010
1 parent 7c29621 commit b04f87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/lib/reporter/cake_cli_reporter.php
Expand Up @@ -98,7 +98,7 @@ function paintError($message) {
*/
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(),
Expand Down

0 comments on commit b04f87f

Please sign in to comment.