Fix non-functioning code

This commit is contained in:
Manuel Thalmann 2023-07-26 15:35:22 +02:00
parent b63c801566
commit e0ed130e58

View file

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