From 03ea5ed9b3f60f06baf81404dcf65d5a110533fa Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 18 Aug 2021 10:51:23 +0200 Subject: [PATCH] EventDetail: Add scheduling_source to assembleStateChangeEvent() --- library/Icingadb/Widget/Detail/EventDetail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Icingadb/Widget/Detail/EventDetail.php b/library/Icingadb/Widget/Detail/EventDetail.php index dc026a1b..1a473935 100644 --- a/library/Icingadb/Widget/Detail/EventDetail.php +++ b/library/Icingadb/Widget/Detail/EventDetail.php @@ -202,6 +202,7 @@ class EventDetail extends BaseHtmlElement $this->addHtml( new HtmlElement('h2', null, Text::create(t('Event Info'))), new HorizontalKeyValue(t('Occurred On'), DateFormatter::formatDateTime($stateChange->event_time)), + new HorizontalKeyValue(t('Scheduling Source'), $stateChange->scheduling_source), new HorizontalKeyValue(t('Check Source'), $stateChange->check_source) ); if ($stateChange->state_type === 'soft') {