Skip to content

Commit

Permalink
static flag issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshan Budhathoki committed Sep 15, 2023
1 parent 9d249ac commit 2307028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Db/Adapter/Pdo/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected function _connect()
$this->_config['driver_options'][1002] = $initCommand; // 1002 = PDO::MYSQL_ATTR_INIT_COMMAND
}

if (PHP_VERSION_ID >= 80100 && Zend_Db_Adapter_Abstract::$isPdoStringifyFetchesBackwardCompatiblePhp8) {
if (PHP_VERSION_ID >= 80100 && Zend_Db_Adapter_Pdo_Abstract::$isPdoStringifyFetchesBackwardCompatiblePhp8) {
// ensure $config['driver_options'] is an array
$this->_config['driver_options'] = $this->_config['driver_options'] ?? [];
if (!isset($this->_config['driver_options'][PDO::ATTR_STRINGIFY_FETCHES])) {
Expand Down

0 comments on commit 2307028

Please sign in to comment.