mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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->shutdownSession();
|
||||
exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user