diff options
author | Piotr Przybylski <piotrprz@gmail.com> | 2011-06-17 22:41:42 +0400 |
---|---|---|
committer | Piotr Przybylski <piotrprz@gmail.com> | 2011-06-17 22:41:42 +0400 |
commit | ae429136292a1b52a149b4d34409eae9af22f9dd (patch) | |
tree | eed3bb863a1c9e7a1a0ecc515c15938d08598249 /db_datadict.php | |
parent | 693da24c95ea98ca8dd1908edab52f7c168ac362 (diff) | |
parent | fc2b6993042a1d3a2ef6cb31f4c791b01e86db01 (diff) |
Merge remote-tracking branch 'origin/master' into drizzle
Conflicts:
server_status.php
Diffstat (limited to 'db_datadict.php')
-rw-r--r-- | db_datadict.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/db_datadict.php b/db_datadict.php index 7e07f4e882..ce61f3518b 100644 --- a/db_datadict.php +++ b/db_datadict.php @@ -58,9 +58,8 @@ PMA_DBI_select_db($db); $rowset = PMA_DBI_query('SHOW TABLES FROM ' . PMA_backquote($db) . ';', null, PMA_DBI_QUERY_STORE); $count = 0; -while ($row = PMA_DBI_fetch_assoc($rowset)) { - $myfieldname = 'Tables_in_' . htmlspecialchars($db); - $table = $row[$myfieldname]; +while ($row = PMA_DBI_fetch_row($rowset)) { + $table = $row[0]; $comments = PMA_getComments($db, $table); echo '<div>' . "\n"; |