We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1135959 commit 89b5572Copy full SHA for 89b5572
library/Icingadb/Common/Backend.php
@@ -62,7 +62,7 @@ public static function getDb(): Connection
62
if ($config->db === 'mysql') {
63
// In PHP 8.5+, driver-specific constants of the PDO class are deprecated,
64
// but the replacements are only available since php 8.4
65
- if (version_compare(PHP_VERSION, '8.5.0', '<')) {
+ if (version_compare(PHP_VERSION, '8.4.0', '<')) {
66
$mysqlConstantPrefix = 'PDO::MYSQL_ATTR_';
67
} else {
68
$mysqlConstantPrefix = 'Pdo\Mysql::ATTR_';
0 commit comments