From 09a2dbc185588099aad6cd80ea2cc32cd1929a0c Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Fri, 28 Jul 2017 12:02:03 +0000 Subject: [PATCH] Bug fix: for archive and obsolescence flags: the parent class may be a pure PHP class. Use ParentPersisteClass instead. SVN:trunk[4848] --- core/metamodel.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/metamodel.class.php b/core/metamodel.class.php index 6673bdbf4..ac9feb127 100644 --- a/core/metamodel.class.php +++ b/core/metamodel.class.php @@ -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