mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°4756 - Ease extensibility for CRUD operations : Event Service - 💚 Fix CI
This commit is contained in:
@@ -274,10 +274,11 @@ function DisplayEvents(WebPage $oPage, $sClass)
|
||||
];
|
||||
$aRows = [];
|
||||
foreach ($aEvents as $sEvent => $aEventInfo) {
|
||||
$aDesc = $aEventInfo['description'];
|
||||
/** @var \Combodo\iTop\Service\Events\Description\EventDescription $oDesc */
|
||||
$oDesc = $aEventInfo['description'];
|
||||
$aRows[] = [
|
||||
'event' => $sEvent,
|
||||
'description' => $aDesc['description'] ?? '',
|
||||
'description' => $oDesc->GetDescription(),
|
||||
];
|
||||
}
|
||||
$oTable = DataTableUIBlockFactory::MakeForStaticData(Dict::S('UI:Schema:Events:Defined'), $aColumns, $aRows);
|
||||
|
||||
Reference in New Issue
Block a user