diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/ContributorEngagement/Extension.pm | 5 | ||||
-rw-r--r-- | extensions/ContributorEngagement/disabled | 0 |
2 files changed, 4 insertions, 1 deletions
diff --git a/extensions/ContributorEngagement/Extension.pm b/extensions/ContributorEngagement/Extension.pm index 949517ecf..c5ce29966 100644 --- a/extensions/ContributorEngagement/Extension.pm +++ b/extensions/ContributorEngagement/Extension.pm @@ -70,7 +70,10 @@ sub object_columns { my ($self, $args) = @_; my ($class, $columns) = @$args{qw(class columns)}; if ($class->isa('Bugzilla::User')) { - push(@$columns, 'first_patch_reviewed_id'); + my $dbh = Bugzilla->dbh; + if ($dbh->bz_column_info('profiles', 'first_patch_reviewed_id')) { + push(@$columns, 'first_patch_reviewed_id'); + } } } diff --git a/extensions/ContributorEngagement/disabled b/extensions/ContributorEngagement/disabled deleted file mode 100644 index e69de29bb..000000000 --- a/extensions/ContributorEngagement/disabled +++ /dev/null |