Ah! forgot to interchange keys and values!

This commit is contained in:
stronk7 2006-09-30 11:09:44 +00:00
parent ef18962b00
commit 87c6baf4a1

View File

@ -320,6 +320,7 @@ function find_index_name($xmldb_table, $xmldb_index) {
/// Check the table exists
$metatables = $db->MetaTables();
$metatables = array_flip($metatables);
$metatables = array_change_key_case($metatables, CASE_LOWER);
if (!array_key_exists($tablename, $metatables)) {
$db->debug = $olddbdebug; //Re-set original $db->debug