diff --git a/adminer/db.inc.php b/adminer/db.inc.php index 32d9c343..11e7ee6e 100644 --- a/adminer/db.inc.php +++ b/adminer/db.inc.php @@ -43,14 +43,14 @@ echo '
' . lang('Alter data
echo ' ' . lang('Database schema') . "" . lang('Tables and views') . "
\n";
-$result = $dbh->query("SHOW TABLE STATUS");
-if (!$result->num_rows) {
+$table_status = table_status();
+if (!$table_status) {
echo " \n";
} else {
echo "