Fix non-functioning code
This commit is contained in:
parent
b63c801566
commit
e0ed130e58
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ $null = New-Module {
|
||||||
if ($candidates.Count -eq 1) {
|
if ($candidates.Count -eq 1) {
|
||||||
$association = $candidates[0];
|
$association = $candidates[0];
|
||||||
} else {
|
} else {
|
||||||
$association = ($associations.SelectNodes([AppAssociations]::associationSelector) | Select-Object -Last 1)[0].CloneNode();
|
$association = ($associations.SelectNodes([AppAssociations]::associationSelector) | Select-Object -Last 1).CloneNode($true);
|
||||||
$association.Identifier = $identifier;
|
$association.Identifier = $identifier;
|
||||||
$association = $associations.AppendChild($association);
|
$association = $associations.AppendChild($association);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue