mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
(Retrofit from trunk) Portal: Wrong form used in some inheritance cases.
SVN:2.3[4652]
This commit is contained in:
@@ -578,7 +578,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