changed line 10 to: $index = "{$table}_{$field}_idx"; (bug 5315)

This commit is contained in:
gbateson 2006-04-26 03:26:12 +00:00
parent 4f6a57d173
commit 2e2a27a9bc

View File

@ -7,7 +7,7 @@ function hotpot_update_to_v2_1_16() {
$length = 20;
$field = 'name';
$table = 'hotpot_questions';
$index = "{$table}_{$name}_idx";
$index = "{$table}_{$field}_idx";
// remove the index
hotpot_db_delete_index("{$CFG->prefix}$table", $index);