We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e46b11 commit 03be6b8Copy full SHA for 03be6b8
src/Driver/PDO/PgSQL/Driver.php
@@ -50,7 +50,10 @@ public function connect(
50
$disablePreparesAttr = PHP_VERSION_ID >= 80400
51
? Pgsql::ATTR_DISABLE_PREPARES
52
: PDO::PGSQL_ATTR_DISABLE_PREPARES;
53
- if ($driverOptions[$disablePreparesAttr] ?? true) {
+ if (
54
+ ! isset($driverOptions[$disablePreparesAttr])
55
+ || $driverOptions[$disablePreparesAttr] === true
56
+ ) {
57
$pdo->setAttribute($disablePreparesAttr, true);
58
}
59
0 commit comments