From 8e16d537ffae85a25259fee22de6b230bd3850e0 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Thu, 1 Oct 2020 17:50:59 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02847=20-=20Fix=20crash=20on=20object=20e?= =?UTF-8?q?dition=20due=20to=20TitleFactory::MakeForObjectDetails()=20refa?= =?UTF-8?q?ctor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/cmdbabstract.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index 7f1f0d3741..764b06fb50 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -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(<<