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:
Denis Flaven
2017-07-28 12:02:03 +00:00
parent 015c5b7a96
commit 09a2dbc185

View File

@@ -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