diff --git a/library/Icingadb/Widget/ItemList/HistoryListItem.php b/library/Icingadb/Widget/ItemList/HistoryListItem.php index 9ceb2b0c..cd1db4c7 100644 --- a/library/Icingadb/Widget/ItemList/HistoryListItem.php +++ b/library/Icingadb/Widget/ItemList/HistoryListItem.php @@ -26,7 +26,7 @@ class HistoryListItem extends CommonListItem case 'comment_add': case 'comment_remove': $caption->add([ - New Icon(Icons::USER), + new Icon(Icons::USER), $this->item->comment->author, ': ', $this->item->comment->comment @@ -36,7 +36,7 @@ class HistoryListItem extends CommonListItem case 'downtime_end': case 'downtime_start': $caption->add([ - New Icon(Icons::USER), + new Icon(Icons::USER), $this->item->downtime->author, ': ', $this->item->downtime->comment @@ -48,7 +48,7 @@ class HistoryListItem extends CommonListItem if (! empty($this->item->notification->author)) { $caption->prepend([ - New Icon(Icons::USER), + new Icon(Icons::USER), $this->item->notification->author, ': ' ]); diff --git a/library/Icingadb/Widget/ItemList/NotificationListItem.php b/library/Icingadb/Widget/ItemList/NotificationListItem.php index 0ed84a6a..5bfa5b35 100644 --- a/library/Icingadb/Widget/ItemList/NotificationListItem.php +++ b/library/Icingadb/Widget/ItemList/NotificationListItem.php @@ -38,7 +38,7 @@ class NotificationListItem extends CommonListItem $caption->add($this->item->text); } else { $caption->add([ - New Icon(Icons::USER), + new Icon(Icons::USER), $this->item->author, ': ', $this->item->text