From 47e9621c29726580e0c8c70547cdff5b65a80c1a Mon Sep 17 00:00:00 2001 From: jbousquie Date: Fri, 18 Nov 2016 16:36:00 +0100 Subject: [PATCH] fix db_free() --- admin/db_access.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/db_access.php b/admin/db_access.php index aa01df2..ee692fa 100644 --- a/admin/db_access.php +++ b/admin/db_access.php @@ -30,7 +30,7 @@ function db_escape_string($db, $string) { // Fonction : db_free // Libère la mémoire -function db_free($db, $res) { - $db->free($res); +function db_free($res) { + $res->free(); } ?> \ No newline at end of file