From 088ba4200bd239a8804988fee9a3a9fc0288a655 Mon Sep 17 00:00:00 2001 From: Esteban Sanchez Date: Thu, 19 Jun 2008 13:58:23 +0000 Subject: [PATCH] 2008-06-18 Esteban Sanchez * include/functions_db.php: Fixed an error on get_db_all_rows_sqlfree(). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_db.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 332cbab31d..c55b663d45 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2008-06-18 Esteban Sanchez + + * include/functions_db.php: Fixed an error on + get_db_all_rows_sqlfree(). + 2008-06-18 Esteban Sanchez * include/functions_db.php: Added documentation to all the functions diff --git a/pandora_console/include/functions_db.php b/pandora_console/include/functions_db.php index 6d458c72bf..024f38c2ed 100644 --- a/pandora_console/include/functions_db.php +++ b/pandora_console/include/functions_db.php @@ -1234,7 +1234,7 @@ function get_db_all_rows_sqlfree ($sql) { return array(); } while ($row = mysql_fetch_array ($result)) { - array_push ($retval, &$row); + array_push ($retval, $row); } return $retval;