Selaa lähdekoodia

Bug fix: for archive and obsolescence flags: the parent class may be a pure PHP class. Use ParentPersisteClass instead.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4848 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 7 vuotta sitten
vanhempi
commit
fd7bc2714a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      core/metamodel.class.php

+ 1 - 1
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