ActionController: Don't render exceptions as PDF

This commit is contained in:
Johannes Meyer 2020-01-10 14:11:52 +01:00
parent 5943e6bde9
commit 5a58279995
1 changed files with 1 additions and 1 deletions

View File

@ -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->shutdownSession();
exit;