summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-09-09 17:02:14 +0200
committerlpsolit%gmail.com <>2007-09-09 17:02:14 +0200
commitfa7d0b9e6c889b910e3c0d22413a1d92195634e7 (patch)
treed57290ed042ee3683484d23334b1ad701b320eb5 /Bugzilla
parentaa888f2218179d59b4f0b8e51e43b863f1da3e43 (diff)
downloadbugzilla-fa7d0b9e6c889b910e3c0d22413a1d92195634e7.tar.gz
bugzilla-fa7d0b9e6c889b910e3c0d22413a1d92195634e7.tar.xz
Regression due to bug 287330: fix failure when processing a bug - Patch by me
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 631c77caf..809dae69c 100755
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -1299,7 +1299,7 @@ sub set_alias { $_[0]->set('alias', $_[1]); }
sub set_cclist_accessible { $_[0]->set('cclist_accessible', $_[1]); }
sub set_custom_field {
my ($self, $field, $value) = @_;
- if (ref $value eq 'ARRAY' && !$field->type == FIELD_TYPE_MULTI_SELECT) {
+ if (ref $value eq 'ARRAY' && $field->type != FIELD_TYPE_MULTI_SELECT) {
$value = $value->[0];
}
ThrowCodeError('field_not_custom', { field => $field }) if !$field->custom;