--- vocabindex.module 2009-03-06 03:28:44.000000000 +1100 +++ vocabindex.module 2009-05-27 09:47:13.000000000 +1000 @@ -439,7 +439,8 @@ function vocabindex_vi_delete($vid = 0) * Type: integer; The VID of the vocabulary to create the VIs for. */ function vocabindex_vi_create($vid) { - db_query("INSERT INTO {vocabindex} (vid, type) VALUES (%d, %d), (%d, %d)", $vid, VOCABINDEX_VI_PAGE, $vid, VOCABINDEX_VI_BLOCK); + db_query("INSERT INTO {vocabindex} (vid, type) VALUES (%d, %d)", $vid, VOCABINDEX_VI_PAGE); + db_query("INSERT INTO {vocabindex} (vid, type) VALUES (%d, %d)", $vid, VOCABINDEX_VI_BLOCK); } /** @@ -574,4 +575,4 @@ function vocabindex_transliterate($lette */ function vocabindex_screenshot_link($view, $title) { return l(theme_image(drupal_get_path('module', 'vocabindex') . '/images/thumb_' . $view . '.gif', $title, $title), 'http://drupal.org/files/images/screenshot_' . $view . '.preview.png', array('html' => TRUE)); -} \ No newline at end of file +}