mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
N°806 Portal: Wrong form used in some inheritance cases.
SVN:trunk[4651]
This commit is contained in:
@@ -617,7 +617,7 @@ class ApplicationHelper
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$bFound = false;
|
$bFound = false;
|
||||||
foreach (MetaModel::EnumParentClasses($sClass) as $sParentClass)
|
foreach (MetaModel::EnumParentClasses($sClass, ENUM_PARENT_CLASSES_EXCLUDELEAF, false) as $sParentClass)
|
||||||
{
|
{
|
||||||
if (isset($aForms[$sParentClass]) && isset($aForms[$sParentClass][$sMode]))
|
if (isset($aForms[$sParentClass]) && isset($aForms[$sParentClass][$sMode]))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user