-Resetting encrypt if value is false

This commit is contained in:
Dave Mc Nicoll 2022-06-21 15:31:49 +00:00
parent e14a3670fc
commit 52f240ef15
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ class MsSQL implements AdapterInterface {
if ( $this->encrypt ?? false ) {
$parts[] = "Encrypt=1";
}
else {
$parts[] = "Encrypt=0";
}
if ( $this->failoverPartner ?? false ) {
$parts[] = "Failover_Partner={$this->failoverPartner}";