diff options
author | 2024-08-25 15:50:54 +0100 | |
---|---|---|
committer | 2024-08-25 18:03:03 +0100 | |
commit | d246371922106654b70ea57e8d29f973f30b894c (patch) | |
tree | c95ef8d38bc131fc81006b88511e2b9214928750 | |
parent | extensions: import RestrictComments from bmo (diff) | |
download | bugzilla-d246371922106654b70ea57e8d29f973f30b894c.tar.gz bugzilla-d246371922106654b70ea57e8d29f973f30b894c.tar.bz2 bugzilla-d246371922106654b70ea57e8d29f973f30b894c.zip |
extensions: RestrictComments: use int
Our BZ doesn't have the bool type.
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | extensions/RestrictComments/Extension.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/RestrictComments/Extension.pm b/extensions/RestrictComments/Extension.pm index 71971079b..9f2afde6a 100644 --- a/extensions/RestrictComments/Extension.pm +++ b/extensions/RestrictComments/Extension.pm @@ -97,11 +97,11 @@ sub install_update_db { Bugzilla::Field->create({ name => 'restrict_comments', description => 'Restrict Comments', - type => FIELD_TYPE_BOOLEAN, + type => FIELD_TYPE_INTEGER, }); } - $dbh->bz_add_column('bugs', 'restrict_comments', {TYPE => 'BOOLEAN'}); + $dbh->bz_add_column('bugs', 'restrict_comments', {TYPE => 'INT2'}); } __PACKAGE__->NAME; |