1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Fix workboard link from project profile pages

Summary: Fixes T5165. This uses `$this->id`, but that may not always be populated anymore. Use the project ID directly instead.

Test Plan: Clicked a workboard link.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5165

Differential Revision: https://secure.phabricator.com/D9266
This commit is contained in:
epriestley 2014-05-23 07:29:16 -07:00
parent 9bba4cda2f
commit 217e0e7fe1

View file

@ -60,7 +60,7 @@ final class PhabricatorProjectProfileController
'phabricator-project-layout', 'phabricator-project-layout',
array($tasks, $feed)); array($tasks, $feed));
$id = $this->id; $id = $project->getID();
$icon = id(new PHUIIconView()) $icon = id(new PHUIIconView())
->setIconFont('fa-columns'); ->setIconFont('fa-columns');
$board_btn = id(new PHUIButtonView()) $board_btn = id(new PHUIButtonView())