Fixed links to Errors tab from Information tab (Summary).

This commit is contained in:
Dmitry Khomutov 2017-11-09 23:18:10 +07:00
commit 1304ca29f7
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
4 changed files with 23 additions and 9 deletions

View file

@ -189,8 +189,8 @@ class BuildController extends Controller
$errorView->build = $build;
$errorView->errors = $errors['items'];
$data['errors'] = (integer)$errorStore->getErrorTotalForBuild($build->getId(), $plugin, $severity);
$data['errors_total'] = (integer)$errorStore->getErrorTotalForBuild($build->getId());
$data['errors'] = $errorStore->getErrorTotalForBuild($build->getId(), $plugin, $severity);
$data['errors_total'] = $errorStore->getErrorTotalForBuild($build->getId());
$data['error_html'] = $errorView->render();
return $data;