mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
Use adminer() instead of $adminer
This commit is contained in:
@@ -31,7 +31,7 @@ foreach (table_status('', true) as $table => $table_status) {
|
||||
$schema[$table]["fields"][$name] = $field;
|
||||
}
|
||||
$schema[$table]["pos"] = ($table_pos[$table] ?: array($top, 0));
|
||||
foreach ($adminer->foreignKeys($table) as $val) {
|
||||
foreach (adminer()->foreignKeys($table) as $val) {
|
||||
if (!$val["db"]) {
|
||||
$left = $base_left;
|
||||
if (idx($table_pos[$table], 1) || idx($table_pos[$val["table"]], 1)) {
|
||||
|
Reference in New Issue
Block a user