From 8c2b6ae665761354dc8266c0af65ae2a57ec1c79 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 7 Dec 2016 18:33:26 +0100 Subject: [PATCH] Conform to coding guidelines refs #12634 --- library/Icinga/Web/Widget/FilterEditor.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/Icinga/Web/Widget/FilterEditor.php b/library/Icinga/Web/Widget/FilterEditor.php index 679fddc90..3b80f1cce 100644 --- a/library/Icinga/Web/Widget/FilterEditor.php +++ b/library/Icinga/Web/Widget/FilterEditor.php @@ -735,8 +735,10 @@ class FilterEditor extends AbstractWidget public function renderSearch() { + $preservedUrl = $this->preservedUrl(); + $html = ' '; @@ -749,12 +751,10 @@ class FilterEditor extends AbstractWidget $title .= ': ' . $this->view()->escape($this->filter); } } - - $addOrPurgeModifyFilter = !($this->preservedUrl()->getParam('modifyFilter')); - + return $html . '