Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
invoke fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tca3 committed Dec 20, 2012
1 parent af27c95 commit 0248cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Mvc/ResponseSender/ConsoleResponseSender.php
Expand Up @@ -46,7 +46,7 @@ public function __invoke(SendResponseEvent $event)
{
$response = $event->getResponse();
if ($response instanceof Response) {
$this->sendContent($response);
$this->sendContent($event);
$errorLevel = (int) $response->getMetadata('errorLevel',0);
$event->stopPropagation(true);
exit($errorLevel);
Expand Down

0 comments on commit 0248cdd

Please sign in to comment.