noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 06/34: Improve DatabaseCore : fetch_all


From: dwm
Subject: [Noalyss-commit] [noalyss] 06/34: Improve DatabaseCore : fetch_all
Date: Wed, 17 Jan 2024 12:54:05 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit 7eb593b0531540e0a899a476f11f2243ba7bff4d
Author: Dany wm <danydb@noalyss.eu>
AuthorDate: Thu Dec 7 21:43:06 2023 +0100

    Improve DatabaseCore : fetch_all
---
 include/lib/database_core.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/lib/database_core.class.php 
b/include/lib/database_core.class.php
index 36eb417d5..0510ce1b6 100644
--- a/include/lib/database_core.class.php
+++ b/include/lib/database_core.class.php
@@ -764,7 +764,7 @@ class DatabaseCore
 
     static function fetch_all($ret)
     {
-        return pg_fetch_all($ret);
+        return pg_fetch_all($ret,PGSQL_ASSOC);
     }
 
     /**\brief wrapper for the function pg_fetch_all



reply via email to

[Prev in Thread] Current Thread [Next in Thread]