You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Return the correct db name
This commit is contained in:
@@ -23,7 +23,7 @@ function PMA_getNewDatabase($sql, $databases)
|
||||
// loop through all the databases
|
||||
foreach ($databases as $database) {
|
||||
if (strpos($sql, $database['SCHEMA_NAME']) !== false) {
|
||||
$db = $database;
|
||||
$db = $database['SCHEMA_NAME'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user