From 96aa29d484ed61d75c1beb7d97cf508ce92d2584 Mon Sep 17 00:00:00 2001 From: nikrou Date: Sat, 21 Nov 2009 21:05:22 +0000 Subject: Feature 1241 : revert pwg_db_fetch_row because we use $row[0] git-svn-id: http://piwigo.org/svn/trunk@4335 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/dblayer/functions_mysql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dblayer/functions_mysql.inc.php') diff --git a/include/dblayer/functions_mysql.inc.php b/include/dblayer/functions_mysql.inc.php index 13a712eba..4128e960e 100644 --- a/include/dblayer/functions_mysql.inc.php +++ b/include/dblayer/functions_mysql.inc.php @@ -393,7 +393,7 @@ function do_maintenance_all_tables() // List all tables $query = 'SHOW TABLES LIKE \''.$prefixeTable.'%\''; $result = pwg_query($query); - while ($row = pwg_db_fetch_assoc($result)) + while ($row = pwg_db_fetch_row($result)) { array_push($all_tables, $row[0]); } -- cgit v1.2.3