1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +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());
if ($task->getOwnerPHID()) {
$owner = $handles[$task->getOwnerPHID()];
$item->addByline(pht('Assigned: %s', $owner->renderLink()));
$owner = idx($handles, $task->getOwnerPHID());
// TODO: This should be guaranteed, see T3817.
if ($owner) {
$item->addByline(pht('Assigned: %s', $owner->renderLink()));
}
}
$status = $task->getStatus();