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

SVN:trunk[4193]
This commit is contained in:
Romain Quetiez
2016-06-09 15:24:21 +00:00
parent ac2492958c
commit e8fb1cf236

View File

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