diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index 39ad397c7..f7a21c20e 100644 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -402,7 +402,6 @@ class ActionController extends Zend_Controller_Action } if ($req->getParam('format') === 'pdf') { - $layout->setLayout('pdf'); $this->shutdownSession(); $this->sendAsPdf(); exit;