mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Open editor on highlighted line in Diffusion
Test Plan: Edited: path$33 path$33-35 path Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3488
This commit is contained in:
parent
d714978f3f
commit
34dfbdaf44
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ final class DiffusionBrowseFileController extends DiffusionController {
|
|||
|
||||
$repository = $drequest->getRepository();
|
||||
$path = $drequest->getPath();
|
||||
$line = 1;
|
||||
$line = nonempty((int)$drequest->getLine(), 1);
|
||||
|
||||
$callsign = $repository->getCallsign();
|
||||
$editor_link = $user->loadEditorLink($path, $line, $callsign);
|
||||
|
|
Loading…
Reference in a new issue