Skip to content

Commit

Permalink
need to have a dbh to reference
Browse files Browse the repository at this point in the history
  • Loading branch information
justdave committed May 11, 2024
1 parent 5c13733 commit ad7b227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/FlagTypeComment/Extension.pm
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ sub db_schema_abstract_schema {
}

sub install_update_db {
my $dbh = Bugzilla->dbh;

# Bug 1634711 - [email protected]
my $def = $dbh->bz_column_info('flagtype_comments', 'type_id');
if ($def->{TYPE} eq 'INT2') {
Expand Down

0 comments on commit ad7b227

Please sign in to comment.