1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 01:10:58 +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:
Chad Little 2015-02-23 12:45:59 -08:00
parent b070ed5019
commit 2518a5eaff

View file

@ -25,6 +25,7 @@ abstract class PhabricatorProjectController extends PhabricatorController {
$viewer = $this->getViewer();
$id = null;
if ($for_app) {
if ($project) {
$id = $project->getID();