mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
#1207 Customization: allow the implementation of interfaces by the mean of abstract classes
SVN:trunk[4193]
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user