diff --git a/library/Icingadb/Widget/Detail/DowntimeDetail.php b/library/Icingadb/Widget/Detail/DowntimeDetail.php index 4ca447a8..fbeb0692 100644 --- a/library/Icingadb/Widget/Detail/DowntimeDetail.php +++ b/library/Icingadb/Widget/Detail/DowntimeDetail.php @@ -54,7 +54,7 @@ class DowntimeDetail extends BaseHtmlElement protected function createCancelDowntimeForm() { $action = Links::downtimesDelete(); - $action->setParam('name', $this->downtime->name); + $action->setQueryString(QueryString::render(Filter::equal('name', $this->downtime->name))); return (new DeleteDowntimeForm()) ->setObjects([$this->downtime])