Permalink
Browse files

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

  • Loading branch information...
1 parent 4f6a57d commit 2e2a27a9bc195067a17c73390d29bda20ef8701b gbateson committed Apr 26, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/db/update_to_v2.php
@@ -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);

0 comments on commit 2e2a27a

Please sign in to comment.