mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 12:30:56 +01:00
Fix exception on /project/
Summary: I missed testing this case when re-doing the navigation. Test Plan: Test /project/, don't see fatal. Test mobile menu, works as expected. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11868
This commit is contained in:
parent
b070ed5019
commit
2518a5eaff
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ abstract class PhabricatorProjectController extends PhabricatorController {
|
|||
|
||||
$viewer = $this->getViewer();
|
||||
|
||||
$id = null;
|
||||
if ($for_app) {
|
||||
if ($project) {
|
||||
$id = $project->getID();
|
||||
|
|
Loading…
Reference in a new issue