Просмотр исходного кода

#1207 Customization: allow the implementation of interfaces by the mean of abstract classes

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4193 a333f486-631f-4898-b8df-5754b55c2be0
romainq 9 лет назад
Родитель
Сommit
1ad3a6ba7d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/metamodel.class.php

+ 1 - 1
core/metamodel.class.php

@@ -1619,7 +1619,7 @@ abstract class MetaModel
 			$oExtensionInstance = null;
 			foreach($aInterfaces as $sInterface)
 			{
-				if ($oRefClass->implementsInterface($sInterface))
+				if ($oRefClass->implementsInterface($sInterface) && $oRefClass->isInstantiable())
 				{
 					if (is_null($oExtensionInstance))
 					{