summaryrefslogtreecommitdiffstats
path: root/library/Icingadb/Widget/HostSummaryDonut.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Icingadb/Widget/HostSummaryDonut.php')
-rw-r--r--library/Icingadb/Widget/HostSummaryDonut.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Icingadb/Widget/HostSummaryDonut.php b/library/Icingadb/Widget/HostSummaryDonut.php
index db5fef8..5efcf74 100644
--- a/library/Icingadb/Widget/HostSummaryDonut.php
+++ b/library/Icingadb/Widget/HostSummaryDonut.php
@@ -47,7 +47,7 @@ class HostSummaryDonut extends Card
->addSlice($this->summary->hosts_down_handled, ['class' => 'slice-state-critical-handled'])
->addSlice($this->summary->hosts_down_unhandled, ['class' => 'slice-state-critical'])
->addSlice($this->summary->hosts_pending, ['class' => 'slice-state-pending'])
- ->setLabelBig($this->summary->hosts_down_unhandled)
+ ->setLabelBig((string) $this->summary->hosts_down_unhandled)
->setLabelBigUrl(Links::hosts()->setFilter($labelBigUrlFilter)->addParams([
'sort' => 'host.state.last_state_change'
]))