Skip to content

Commit 21d66ed

Browse files
authored
Fixed php8.1 deprecation warning (ZF1-future) (#2805)
1 parent fb71912 commit 21d66ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Zend/Db/Statement/Pdo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public function _execute(array $params = null)
245245
* @return mixed Array, object, or scalar depending on fetch mode.
246246
* @throws Zend_Db_Statement_Exception
247247
*/
248-
public function fetch($style = null, $cursor = null, $offset = null)
248+
public function fetch($style = null, $cursor = \PDO::FETCH_ORI_NEXT, $offset = 0)
249249
{
250250
if ($style === null) {
251251
$style = $this->_fetchMode;

0 commit comments

Comments
 (0)