Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Przybylski <piotrprz@gmail.com>2011-06-17 22:41:42 +0400
committerPiotr Przybylski <piotrprz@gmail.com>2011-06-17 22:41:42 +0400
commitae429136292a1b52a149b4d34409eae9af22f9dd (patch)
treeeed3bb863a1c9e7a1a0ecc515c15938d08598249 /db_datadict.php
parent693da24c95ea98ca8dd1908edab52f7c168ac362 (diff)
parentfc2b6993042a1d3a2ef6cb31f4c791b01e86db01 (diff)
Merge remote-tracking branch 'origin/master' into drizzle
Conflicts: server_status.php
Diffstat (limited to 'db_datadict.php')
-rw-r--r--db_datadict.php5
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";