mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Needed => define if not exists
SVN:trunk[2699]
This commit is contained in:
@@ -1064,7 +1064,7 @@ EOF
|
||||
if (!$oNodeClone)
|
||||
{
|
||||
$sAlteration = $oNode->getAttribute('_alteration');
|
||||
$bCopyContents = ($sAlteration == 'replaced') || ($sAlteration == 'added');
|
||||
$bCopyContents = ($sAlteration == 'replaced') || ($sAlteration == 'added') || ($sAlteration == 'needed');
|
||||
$oNodeClone = $oTargetDoc->importNode($oNode->cloneNode($bCopyContents), $bCopyContents);
|
||||
$oNodeClone->removeAttribute('_alteration');
|
||||
if ($oNodeClone->hasAttribute('_old_id'))
|
||||
|
||||
Reference in New Issue
Block a user