mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
(retrofit from trunk) Internal - MFFactory: fixed GetDelta when there is no change at all
SVN:2.2.0[3834]
This commit is contained in:
@@ -1086,7 +1086,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