mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
lib: Do not setLayout('pdf') twice
This commit is contained in:
parent
ded045e32c
commit
97261cd8bd
@ -402,7 +402,6 @@ class ActionController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
if ($req->getParam('format') === 'pdf') {
|
||||
$layout->setLayout('pdf');
|
||||
$this->shutdownSession();
|
||||
$this->sendAsPdf();
|
||||
exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user