From 13db0ec1818a61c348a991c8135e8f4cb6a152f2 Mon Sep 17 00:00:00 2001 From: Benamier Abdechakour <55788341+shadowalkerCode-007@users.noreply.github.com> Date: Fri, 15 Mar 2024 22:08:53 +0100 Subject: [PATCH] fix call to deprecated doctrine fetch() method (#452) Co-authored-by: abenamier --- Util/Doctrine/SingleColumnArrayHydrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/Doctrine/SingleColumnArrayHydrator.php b/Util/Doctrine/SingleColumnArrayHydrator.php index e989aaa6..afce7bd8 100644 --- a/Util/Doctrine/SingleColumnArrayHydrator.php +++ b/Util/Doctrine/SingleColumnArrayHydrator.php @@ -18,7 +18,7 @@ protected function hydrateAllData() { $result = []; - while ($data = $this->_stmt->fetch(\PDO::FETCH_NUM)) { + while ($data = $this->_stmt->fetchNumeric()) { $value = $data[0]; if (is_numeric($value)) {