From 7638be973306348cc7affa17837c7ff5082c57e5 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Fri, 8 Sep 2023 15:18:27 +0200 Subject: [PATCH] Use `addHtml()` instead of `add()` where applicable --- library/Icingadb/Widget/ShowMore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icingadb/Widget/ShowMore.php b/library/Icingadb/Widget/ShowMore.php index ba38af3b..d7fc7fb4 100644 --- a/library/Icingadb/Widget/ShowMore.php +++ b/library/Icingadb/Widget/ShowMore.php @@ -58,7 +58,7 @@ class ShowMore extends BaseHtmlElement protected function assemble(): void { if ($this->resultSet->hasMore()) { - $this->add(new ActionLink($this->getLabel(), $this->url)); + $this->addHtml(new ActionLink($this->getLabel(), $this->url)); } } }