diff options
author | nikrou <nikrou@piwigo.org> | 2009-11-21 21:05:22 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-11-21 21:05:22 +0000 |
commit | 96aa29d484ed61d75c1beb7d97cf508ce92d2584 (patch) | |
tree | 9751a7417ba0bff391245d612e7fd889b0e2794e /include/dblayer/functions_mysql.inc.php | |
parent | ce3fe0d46029ec6da38f07c01787d0c0ff03e470 (diff) |
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
Diffstat (limited to 'include/dblayer/functions_mysql.inc.php')
-rw-r--r-- | include/dblayer/functions_mysql.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]); } |