mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
N°4001 - Fix double title & extra space on object creation failure page
This commit is contained in:
@@ -1152,9 +1152,6 @@ EOF
|
||||
$sHeaderTitle = Dict::Format('UI:CreationTitle_Class', $sClassLabel);
|
||||
|
||||
$oP->set_title(Dict::Format('UI:CreationPageTitle_Class', $sClassLabel));
|
||||
$oTitle = TitleUIBlockFactory::MakeForPageWithIcon($sHeaderTitle, $sClassIcon, Title::DEFAULT_ICON_COVER_METHOD, false);
|
||||
$oP->AddUiBlock($oTitle);
|
||||
|
||||
if (!empty($aIssues)) {
|
||||
$oP->AddHeaderMessage($e->getHtmlMessage(), 'message_error');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user