diff --git a/src/scripts/extensions/add_extensions.ps1 b/src/scripts/extensions/add_extensions.ps1 index 96c2090b..e4b60e1c 100644 --- a/src/scripts/extensions/add_extensions.ps1 +++ b/src/scripts/extensions/add_extensions.ps1 @@ -61,7 +61,7 @@ Function Add-Extension { } else { # Patch till PHP 8.1 DLLs are released as stable. - $minimumStability = 'stable' + $minimumStability = $stability if($version -eq '8.1' -and $stability -eq 'stable') { $minimumStability = 'snapshot' }