summaryrefslogtreecommitdiffstats
path: root/library/Icingadb/Widget/Detail/MultiselectQuickActions.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Icingadb/Widget/Detail/MultiselectQuickActions.php')
-rw-r--r--library/Icingadb/Widget/Detail/MultiselectQuickActions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/Icingadb/Widget/Detail/MultiselectQuickActions.php b/library/Icingadb/Widget/Detail/MultiselectQuickActions.php
index f398d80..b80ec9d 100644
--- a/library/Icingadb/Widget/Detail/MultiselectQuickActions.php
+++ b/library/Icingadb/Widget/Detail/MultiselectQuickActions.php
@@ -67,6 +67,7 @@ class MultiselectQuickActions extends BaseHtmlElement
) {
$removeAckForm = (new RemoveAcknowledgementForm())
->setAction($this->getLink('removeAcknowledgement'))
+ // TODO: This is a hack as for the button label the count of objects is used. setCount? setMultiple?
->setObjects(array_fill(0, $this->summary->$acks, null));
$this->add(Html::tag('li', $removeAckForm));