Skip to content

Commit

Permalink
Use addHtml() instead of add() where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Sep 8, 2023
1 parent f66b551 commit 7638be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icingadb/Widget/ShowMore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
}

0 comments on commit 7638be9

Please sign in to comment.