summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/DB.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index ff3ea0d4c..03e8e4de3 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -680,11 +680,11 @@ sub bz_add_field_tables {
my ($self, $field) = @_;
$self->_bz_add_field_table($field->name,
- $self->_bz_schema->FIELD_TABLE_SCHEMA);
+ $self->_bz_schema->FIELD_TABLE_SCHEMA, $field->type);
if ($field->type == FIELD_TYPE_MULTI_SELECT) {
my $ms_table = "bug_" . $field->name;
$self->_bz_add_field_table($ms_table,
- $self->_bz_schema->MULTI_SELECT_VALUE_TABLE, $field->type);
+ $self->_bz_schema->MULTI_SELECT_VALUE_TABLE);
$self->bz_add_fk($ms_table, 'bug_id', {TABLE => 'bugs',
COLUMN => 'bug_id',