N°2847 - Fix crash on object edition due to TitleFactory::MakeForObjectDetails() refactor

This commit is contained in:
Molkobain
2020-10-01 17:50:59 +02:00
parent d9fe4599ff
commit 8e16d537ff

View File

@@ -2532,7 +2532,7 @@ JS
$oPage->set_title(Dict::Format('UI:ModificationPageTitle_Object_Class', $this->GetRawName(),
$sClassLabel)); // Set title will take care of the encoding
$oContentBlock->AddSubBlock(TitleFactory::MakeForObjectDetails('', $sHeaderTitle, $this->GetIcon()));
$oContentBlock->AddSubBlock(TitleFactory::MakeForObjectDetails($this));
// $oPage->add(<<<HTML
//<!-- Beginning of object-details -->