From 8472584d38b244bdd59258de7db26fd323cc966d Mon Sep 17 00:00:00 2001 From: vfilippov Date: Thu, 18 Nov 2010 14:44:05 +0000 Subject: [PATCH] Bug 72149 git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1086 6955db30-a419-402b-8a0d-67ecbb4d7f56 --- Bugzilla/Bug.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 77164ee48..f8593c76e 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -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; }