From 29b2ed22b9bea6f1283b6ef064f659ab72de3e39 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 16 Aug 2023 10:05:16 +0200 Subject: [PATCH] AbstractWidget: Method `render()` does not expect any param --- library/Icinga/Web/Widget/AbstractWidget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Widget/AbstractWidget.php b/library/Icinga/Web/Widget/AbstractWidget.php index 1cf7a10bc..109054852 100644 --- a/library/Icinga/Web/Widget/AbstractWidget.php +++ b/library/Icinga/Web/Widget/AbstractWidget.php @@ -112,7 +112,7 @@ abstract class AbstractWidget public function __toString() { try { - $html = $this->render($this->view()); + $html = $this->render(); } catch (Exception $e) { return htmlspecialchars($e->getMessage()); }