MINOR: fix case in tablelist() returned array index

This commit is contained in:
Andreas Piening 2010-12-16 02:54:04 +00:00
parent d1a024d7b1
commit a2b2b116f5
1 changed files with 1 additions and 1 deletions

View File

@ -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