(retrofit from trunk) Internal - MFFactory: fixed GetDelta when there is no change at all

SVN:2.2.0[3834]
This commit is contained in:
Denis Flaven
2015-11-30 14:59:24 +00:00
parent ff3eafc1d2
commit 00b3b9e1cc

View File

@@ -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;