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,8 +60,11 @@ final class ManiphestTaskListView extends ManiphestView {
$item->setHref('/T'.$task->getID()); $item->setHref('/T'.$task->getID());
if ($task->getOwnerPHID()) { if ($task->getOwnerPHID()) {
$owner = $handles[$task->getOwnerPHID()]; $owner = idx($handles, $task->getOwnerPHID());
$item->addByline(pht('Assigned: %s', $owner->renderLink())); // TODO: This should be guaranteed, see T3817.
if ($owner) {
$item->addByline(pht('Assigned: %s', $owner->renderLink()));
}
} }
$status = $task->getStatus(); $status = $task->getStatus();