mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
MINOR: fix case in tablelist() returned array index
This commit is contained in:
parent
d1a024d7b1
commit
a2b2b116f5
@ -542,7 +542,7 @@ class SQLite3Database extends SS_Database {
|
||||
foreach($this->query('SELECT name FROM sqlite_master WHERE type = "table"') as $record) {
|
||||
//$table = strtolower(reset($record));
|
||||
$table = reset($record);
|
||||
$tables[$table] = $table;
|
||||
$tables[strtolower($table)] = $table;
|
||||
}
|
||||
|
||||
//Return an empty array if there's nothing in this database
|
||||
|
Loading…
Reference in New Issue
Block a user