mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 10:34:01 +02:00
Elasticsearch: fix function table_status() for 2 or more tables
This commit is contained in:
@@ -211,9 +211,9 @@ if (isset($_GET["elastic"])) {
|
||||
if ($return) {
|
||||
foreach ($return as $key => $type) { // _stats have just info about database
|
||||
$return[$key] = array("Name" => $key, "Engine" => $type);
|
||||
if ($name != "") {
|
||||
return $return[$name];
|
||||
}
|
||||
}
|
||||
if ($name != "") {
|
||||
return $return[$name];
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
|
Reference in New Issue
Block a user