mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°2869 - Check for bad finalclass in root classes (Allow all non-abstract child classes)
This commit is contained in:
@@ -343,7 +343,7 @@ class DatabaseAnalyzer
|
||||
$aAllowedValues = MetaModel::EnumChildClasses($sRootClass, ENUM_CHILD_CLASSES_ALL);
|
||||
foreach ($aAllowedValues as $sAllowedClass)
|
||||
{
|
||||
if (MetaModel::IsLeafClass($sAllowedClass))
|
||||
if (!MetaModel::IsAbstract($sAllowedClass))
|
||||
{
|
||||
$aLeafClasses[] = $sAllowedClass;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user