From 62dd0b3f1e70a36791d9eca3405a7906f6733959 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 8 Jun 2020 09:25:50 +0200 Subject: [PATCH] ActionController: Fix that view variable `compact` is undefined refs #4164 --- library/Icinga/Web/Controller/ActionController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index 44ebbc512..cc26277b7 100644 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -129,6 +129,7 @@ class ActionController extends Zend_Controller_Action $this->_helper->layout()->showFullscreen = $request->getUrl()->shift('showFullscreen'); $this->_helper->layout()->moduleName = $moduleName; + $this->view->compact = false; if ($request->getUrl()->getParam('view') === 'compact') { $request->getUrl()->remove('view'); $this->view->compact = true;