Bug 48299

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@703 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2010-04-05 14:43:33 +00:00
parent dfd31e172b
commit ca10f3bb03
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -29,14 +29,14 @@ use Bugzilla::Constants;
my $cgi = Bugzilla->cgi;
my $id = $cgi->param('id');
my $user = Bugzilla->login();
my $user = Bugzilla->user;
my $bug = Bugzilla::Bug->new($id);
my $str;
my $format = lc $cgi->param('format') || 'short';
if (!$user || !$bug->{error} && !$user->can_see_bug($bug->bug_id))
{
# Access denied
$str = "#$id нет доступа";
$str = "Bug$id: нет доступа";
$bug = undef;
}
else