diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index a6a5da28..1e5deb77 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -283,7 +283,7 @@ class Context { $oldContent = Get-Content ($this.GetNextcloudConfigFile()); - $( + [string[]]$( for ($i = 0; $i -lt $oldContent.Count; $i++) { if ($_ -eq "[Accounts]") { $accountSectionEntered = $true;