1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Fix construction of "View Tasks" URI from user profiles

Summary: Fixes T4995. This uses commas so it shouldn't have `[]`. I think I just derped this a while ago.

Test Plan: fiddled

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T4995

Differential Revision: https://secure.phabricator.com/D9009
This commit is contained in:
epriestley 2014-05-08 10:33:32 -07:00
parent 24dcd36fe6
commit c3838c5354

View file

@ -33,7 +33,7 @@ final class ManiphestActionMenuEventListener extends PhabricatorEventListener {
$user = $event->getValue('object'); $user = $event->getValue('object');
$phid = $user->getPHID(); $phid = $user->getPHID();
$view_uri = sprintf( $view_uri = sprintf(
'/maniphest/?statuses[]=%s&assigned=%s#R', '/maniphest/?statuses=%s&assigned=%s#R',
implode(',', ManiphestTaskStatus::getOpenStatusConstants()), implode(',', ManiphestTaskStatus::getOpenStatusConstants()),
$phid); $phid);