mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Transmission of user rights along N-N links: must work both with DEL_AUTO and DEL_SILENT external keys (found with a code review, DEL_SILENT is still rarely used)
SVN:trunk[3349]
This commit is contained in:
@@ -1472,7 +1472,7 @@ EOF;
|
||||
if (($sAttType == 'AttributeExternalKey') || ($sAttType == 'AttributeHierarchicalKey'))
|
||||
{
|
||||
$sOnTargetDel = $oField->GetChildText('on_target_delete');
|
||||
if ($sOnTargetDel == 'DEL_AUTO')
|
||||
if (($sOnTargetDel == 'DEL_AUTO') || ($sOnTargetDel == 'DEL_SILENT'))
|
||||
{
|
||||
$sTargetClass = $oField->GetChildText('target_class');
|
||||
$aLinkToClasses[$oClass->getAttribute('id')][] = $sTargetClass;
|
||||
|
||||
Reference in New Issue
Block a user