Bug 72149
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1086 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
e2fa47c244
commit
8472584d38
|
@ -1862,6 +1862,8 @@ sub _check_select_field {
|
|||
sub _check_bugid_field {
|
||||
my ($invocant, $value, $field) = @_;
|
||||
return undef if !$value;
|
||||
# If there is no change, do not check the bug id, as it may be invisible for current user
|
||||
return $invocant->{$field} if ref $invocant && $invocant->{$field} eq $value;
|
||||
return $invocant->check($value, $field)->id;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue