diff --git a/src/applications/maniphest/view/tasksummary/ManiphestTaskSummaryView.php b/src/applications/maniphest/view/tasksummary/ManiphestTaskSummaryView.php index a43dd698d0..ca102df1b5 100644 --- a/src/applications/maniphest/view/tasksummary/ManiphestTaskSummaryView.php +++ b/src/applications/maniphest/view/tasksummary/ManiphestTaskSummaryView.php @@ -61,6 +61,7 @@ class ManiphestTaskSummaryView extends ManiphestView { ); $pri_class = idx($classes, $task->getPriority()); + $status_map = ManiphestTaskStatus::getTaskStatusMap(); return ''. @@ -69,9 +70,7 @@ class ManiphestTaskSummaryView extends ManiphestView { 'T'.$task->getID(). ''. ''. '
'. - ($task->getStatus() == ManiphestTaskStatus::STATUS_OPEN - ? 'Open' - : 'Closed'). + idx($status_map, $task->getStatus(), 'Unknown'). ''. ($task->getOwnerPHID()