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)); } } }