mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
#1111 Could not attach a UserRequest to a Problem (1-N links). Could not detach either! This fix requires attention: it is assumed that an item of a link set, if it is "modified" then its key to the current object has already been set.
SVN:trunk[3693]
This commit is contained in:
@@ -1318,7 +1318,7 @@ class DBObjectSetComparator
|
||||
// Already marked as modified above
|
||||
//$aResult['modified'][$oObj->GetKey()] = $oObj;
|
||||
}
|
||||
else if (!array_key_exists($sFingerprint, $this->aFingerprints1) && $oObj->IsNew())
|
||||
else if (!array_key_exists($sFingerprint, $this->aFingerprints1))
|
||||
{
|
||||
$aResult['added'][] = $oObj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user