1
0
Fork 0
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:
vrana 2012-09-13 11:01:41 -07:00
parent d714978f3f
commit 34dfbdaf44

View file

@ -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);