mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
N°9167 Use ExtensionDetails UIBlocks instead of table
This commit is contained in:
@@ -33,7 +33,7 @@ class ExtensionDetails extends UIContentBlock
|
||||
$this->sCode = $sCode;
|
||||
$this->sLabel = $sLabel;
|
||||
$this->sDescription = $sDescription;
|
||||
$this->aMetaData = $aMetaData;
|
||||
$this->aMetaData = array_filter($aMetaData);
|
||||
$this->aBadges = $aBadges;
|
||||
$this->sAbout = $sAbout;
|
||||
$this->InitializeToggler();
|
||||
@@ -105,7 +105,7 @@ class ExtensionDetails extends UIContentBlock
|
||||
*/
|
||||
public function SetMetaData(array $aMetaData): static
|
||||
{
|
||||
$this->aMetaData = $aMetaData;
|
||||
$this->aMetaData = array_filter($aMetaData);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user