From be38bca83d8834ecb82e0370ecb967ab83ed4e93 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Thu, 18 Feb 2021 16:17:35 +0100 Subject: [PATCH] Fix bad HTML markup when having OnDisplayRelations in objects --- application/cmdbabstract.class.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index ac5c492c1..bdff79a5f 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -731,7 +731,6 @@ EOF } } } - $oPage->SetCurrentTab(''); /** @var \iApplicationUIExtension $oExtensionInstance */ foreach(MetaModel::EnumPlugins('iApplicationUIExtension') as $oExtensionInstance) @@ -739,6 +738,8 @@ EOF $oExtensionInstance->OnDisplayRelations($this, $oPage, $bEditMode); } + $oPage->SetCurrentTab(''); + // Look for any trigger that considers this object as "In Scope" // If any trigger has been found then display a tab with notifications //