Bug 135419 - Fix todayworktime for 'i say do it' warning

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1841 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
akrasilnikov 2013-10-08 07:38:02 +00:00
parent 886381e737
commit 183fda0962
1 changed files with 3 additions and 2 deletions

View File

@ -124,8 +124,9 @@ sub show_checker_errors
{
my ($bugs) = @_;
$bugs ||= Bugzilla->request_cache->{failed_checkers};
return if !$bugs || !grep { grep { !$_->triggers } @{$_->{failed_checkers} || []} } @$bugs;
if (Bugzilla->error_mode != ERROR_MODE_WEBPAGE)
my $pass_chk = grep { $_->{passed_checkers} } @$bugs;
return if $pass_chk || !$bugs || !grep { grep { !$_->triggers } @{$_->{failed_checkers} || []} } @$bugs;
if (Bugzilla->error_mode != ERROR_MODE_WEBPAGE)
{
my $info = [
map { {