mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Bug fix: for archive and obsolescence flags: the parent class may be a pure PHP class. Use ParentPersisteClass instead.
SVN:trunk[4848]
This commit is contained in:
@@ -1748,7 +1748,7 @@ abstract class MetaModel
|
||||
{
|
||||
if (is_subclass_of($sPHPClass, 'DBObject'))
|
||||
{
|
||||
$sParent = get_parent_class($sPHPClass);
|
||||
$sParent = self::GetParentPersistentClass($sPHPClass);
|
||||
if (array_key_exists($sParent, self::$m_aIgnoredAttributes))
|
||||
{
|
||||
// Inherit info about attributes to ignore
|
||||
|
||||
Reference in New Issue
Block a user