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.
2 parents f02e965 + 049632d commit a5d5c51Copy full SHA for a5d5c51
src/Driver/PDO/PgSQL/Driver.php
@@ -58,7 +58,10 @@ public function connect(
58
$disablePreparesAttr = PHP_VERSION_ID >= 80400
59
? Pgsql::ATTR_DISABLE_PREPARES
60
: PDO::PGSQL_ATTR_DISABLE_PREPARES;
61
- if ($driverOptions[$disablePreparesAttr] ?? true) {
+ if (
62
+ ! isset($driverOptions[$disablePreparesAttr])
63
+ || $driverOptions[$disablePreparesAttr] === true
64
+ ) {
65
$pdo->setAttribute($disablePreparesAttr, true);
66
}
67
0 commit comments