Skip to content

Commit d92bf8e

Browse files
committed
fix rector
1 parent 61ca7be commit d92bf8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/SQLSRV/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function connect(bool $persistent = false)
121121
'ConnectionPooling' => $persistent ? 1 : 0,
122122
'CharacterSet' => $charset,
123123
'Encrypt' => $this->encrypt === true ? 1 : 0,
124-
'TrustServerCertificate' => $this->trustServerCertificate === true ? 1 : 0,
124+
'TrustServerCertificate' => $this->trustServerCertificate ? 1 : 0,
125125
'ReturnDatesAsStrings' => 1,
126126
];
127127

0 commit comments

Comments
 (0)