ActionController: Don't render exceptions as PDF
This commit is contained in:
parent
5943e6bde9
commit
5a58279995
|
@ -483,7 +483,7 @@ class ActionController extends Zend_Controller_Action
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($req->getParam('format') === 'pdf') {
|
if ($req->getParam('error_handler') === null && $req->getParam('format') === 'pdf') {
|
||||||
$this->sendAsPdf();
|
$this->sendAsPdf();
|
||||||
$this->shutdownSession();
|
$this->shutdownSession();
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Reference in New Issue