1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00

Continue not fataling on legacy Maniphest queries

Summary: Ref T3817. See that task for discussion.

Auditors: btrahan
This commit is contained in:
epriestley 2013-09-11 08:50:39 -07:00
parent 004edbaf7c
commit 0ce3121170

View file

@ -60,9 +60,12 @@ final class ManiphestTaskListView extends ManiphestView {
$item->setHref('/T'.$task->getID());
if ($task->getOwnerPHID()) {
$owner = $handles[$task->getOwnerPHID()];
$owner = idx($handles, $task->getOwnerPHID());
// TODO: This should be guaranteed, see T3817.
if ($owner) {
$item->addByline(pht('Assigned: %s', $owner->renderLink()));
}
}
$status = $task->getStatus();
if ($status != ManiphestTaskStatus::STATUS_OPEN) {