mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Diffusion - fix browse file bug
Summary: we were calling a member method on a diffusion hash. not sure why. Fixes T4402 Test Plan: clicked about, no fatals and seemed to move sensical backwards in time Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Maniphest Tasks: T4402 Differential Revision: https://secure.phabricator.com/D8194
This commit is contained in:
parent
9f92a81ea9
commit
8739ea4dc1
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,7 @@ final class DiffusionBrowseFileController extends DiffusionBrowseController {
|
||||||
$follow = 'created';
|
$follow = 'created';
|
||||||
} else if ($parent) {
|
} else if ($parent) {
|
||||||
// If we found a parent, jump to it. This is the normal case.
|
// If we found a parent, jump to it. This is the normal case.
|
||||||
$target_commit = $parent->getCommitIdentifier();
|
$target_commit = $parent;
|
||||||
} else {
|
} else {
|
||||||
// If there's no parent, this was probably created in the initial commit?
|
// If there's no parent, this was probably created in the initial commit?
|
||||||
// And the "was_created" check will fail because we can't identify the
|
// And the "was_created" check will fail because we can't identify the
|
||||||
|
|
Loading…
Reference in a new issue