diff --git a/library/Icingadb/Widget/ShowMore.php b/library/Icingadb/Widget/ShowMore.php index ba38af3b8..d7fc7fb4d 100644 --- a/library/Icingadb/Widget/ShowMore.php +++ b/library/Icingadb/Widget/ShowMore.php @@ -58,7 +58,7 @@ public function renderUnwrapped(): string protected function assemble(): void { if ($this->resultSet->hasMore()) { - $this->add(new ActionLink($this->getLabel(), $this->url)); + $this->addHtml(new ActionLink($this->getLabel(), $this->url)); } } }