summaryrefslogtreecommitdiffstats
path: root/extensions/Review
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2014-09-17 01:14:51 +0200
committerDylan William Hardison <dylan@hardison.net>2014-09-17 01:14:51 +0200
commitd4a04eb346c3f17591337c9df26796323ae9274f (patch)
treebdf99256c3b9941b06f04c2b0f874d1169646d6e /extensions/Review
parent58b72056ca071fcf75f382d28c129329a52f40a3 (diff)
downloadbugzilla-d4a04eb346c3f17591337c9df26796323ae9274f.tar.gz
bugzilla-d4a04eb346c3f17591337c9df26796323ae9274f.tar.xz
Bug 1065398 - Error when using checksetup.pl to create BMO database from scratch when Review extension enabled
Diffstat (limited to 'extensions/Review')
-rw-r--r--extensions/Review/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm
index 8a7a9fe62..d5d96daa9 100644
--- a/extensions/Review/Extension.pm
+++ b/extensions/Review/Extension.pm
@@ -262,7 +262,7 @@ sub object_update_columns {
sub _new_users_from_input {
my ($field) = @_;
my $input_params = Bugzilla->input_params;
- return unless exists $input_params->{$field};
+ return undef unless exists $input_params->{$field};
return [] unless $input_params->{$field};
Bugzilla::User::match_field({ $field => {'type' => 'multi'} });;
my $value = $input_params->{$field};