mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-04 00:24:14 +01:00
N°6253 - Fix crash due to missing test on main class
This commit is contained in:
@@ -347,7 +347,8 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
|
||||
unset($aLists[$sAlias], $aAuthorizedClasses[$sAlias]);
|
||||
}
|
||||
|
||||
if (!empty($sLinkageAttribute)) {
|
||||
// Only for main class
|
||||
if (!empty($sLinkageAttribute) && $sClassName === $oSet->GetFilter()->GetClass()) {
|
||||
// The set to display is in fact a set of links between the object specified in the $sLinkageAttribute
|
||||
// and other objects...
|
||||
// The display will then group all the attributes related to the link itself:
|
||||
|
||||
Reference in New Issue
Block a user