From 97261cd8bd961684365da2abf30cf9f2fd01af8e Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 11 Feb 2015 15:15:18 +0100 Subject: [PATCH] lib: Do not setLayout('pdf') twice --- library/Icinga/Web/Controller/ActionController.php | 1 - 1 file changed, 1 deletion(-) 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;