mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
Internal - MFFactory: fixed GetDelta when there is no change at all
SVN:trunk[3792]
This commit is contained in:
@@ -1085,7 +1085,10 @@ EOF
|
||||
{
|
||||
foreach ($aAttributes as $sAttribute => $value)
|
||||
{
|
||||
$oDelta->documentElement->setAttribute($sAttribute, $value);
|
||||
if ($oDelta->documentElement) // yes, this may happen when still no change has been performed (and a module has been selected for installation)
|
||||
{
|
||||
$oDelta->documentElement->setAttribute($sAttribute, $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $oDelta;
|
||||
|
||||
Reference in New Issue
Block a user