diff --git a/adminer/db.inc.php b/adminer/db.inc.php
index 8b273fb3..3494d700 100644
--- a/adminer/db.inc.php
+++ b/adminer/db.inc.php
@@ -93,7 +93,7 @@ if ($adminer->homepage()) {
foreach ($tables_list as $name => $type) {
$view = ($type !== null && !preg_match('~table|sequence~i', $type));
$id = h("Table-" . $name);
- echo '
' . checkbox(($view ? "views[]" : "tables[]"), $name, in_array($name, $tables_views, true), "", "", "", $id);
+ echo ' |
' . checkbox(($view ? "views[]" : "tables[]"), $name, in_array("$name", $tables_views, true), "", "", "", $id); // "$name" to check numeric table names
echo ' | ' . (support("table") || support("indexes") ? "" . h($name) . '' : h($name));
if ($view) {
echo ' | ' . (preg_match('~materialized~i', $type) ? lang('Materialized view') : lang('View')) . '';
|
---|