mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
Fix error in object details : "Too few arguments to function MenuBlock::GetRenderContent()"
This commit is contained in:
@@ -391,7 +391,7 @@ JS
|
|||||||
$oSingletonFilter = new DBObjectSearch(get_class($this));
|
$oSingletonFilter = new DBObjectSearch(get_class($this));
|
||||||
$oSingletonFilter->AddCondition('id', $this->GetKey(), '=');
|
$oSingletonFilter->AddCondition('id', $this->GetKey(), '=');
|
||||||
$oBlock = new MenuBlock($oSingletonFilter, 'details', false);
|
$oBlock = new MenuBlock($oSingletonFilter, 'details', false);
|
||||||
$oActionMenuBlock = $oBlock->GetRenderContent($oPage);
|
$oActionMenuBlock = $oBlock->GetRenderContent($oPage, [], uniqid('', true));
|
||||||
$aHeaderBlocks['toolbar'][$oActionMenuBlock->GetId()] = $oActionMenuBlock;
|
$aHeaderBlocks['toolbar'][$oActionMenuBlock->GetId()] = $oActionMenuBlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user