mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Fix coverage line index lookup in diffusion browser
Summary: I believe this got clobbered in rP8b6edaa4e238a809fe78e6d14ad0705545f8179f. This index doesn't seem to be present in the line dictionary and we're now relying on `$line_index` for the current position. Test Plan: before {F1085522} after {F1085521} Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D15156
This commit is contained in:
parent
f5c686d6a4
commit
d41aaba2a1
1 changed files with 1 additions and 1 deletions
|
@ -1180,7 +1180,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
||||||
|
|
||||||
if ($this->coverage) {
|
if ($this->coverage) {
|
||||||
require_celerity_resource('differential-changeset-view-css');
|
require_celerity_resource('differential-changeset-view-css');
|
||||||
$cov_index = $line['line'] - 1;
|
$cov_index = $line_index;
|
||||||
|
|
||||||
if (isset($this->coverage[$cov_index])) {
|
if (isset($this->coverage[$cov_index])) {
|
||||||
$cov_class = $this->coverage[$cov_index];
|
$cov_class = $this->coverage[$cov_index];
|
||||||
|
|
Loading…
Reference in a new issue