From 87c6baf4a1fab69a621e6661799f4077911c18d2 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 30 Sep 2006 11:09:44 +0000 Subject: [PATCH] Ah! forgot to interchange keys and values! --- lib/ddllib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ddllib.php b/lib/ddllib.php index bf956e56df..d4d1636ab1 100644 --- a/lib/ddllib.php +++ b/lib/ddllib.php @@ -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 -- 2.39.5