mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Don't fatal after failing to load grouped projects in Maniphest
Summary: Fixes T3817. This junk is getting wiped out soon so I'm punting here and fixing the symptom rather than the root cause. Auditors: btrahan
This commit is contained in:
parent
1fa59c2e42
commit
004edbaf7c
1 changed files with 4 additions and 1 deletions
|
@ -633,7 +633,10 @@ final class ManiphestTaskListController extends ManiphestController {
|
|||
$grouped = array();
|
||||
foreach ($query->getGroupByProjectResults() as $project => $tasks) {
|
||||
foreach ($tasks as $task) {
|
||||
$group = $project ? $handles[$project]->getName() : 'No Project';
|
||||
$group = 'No Project';
|
||||
if ($project && isset($handles[$project])) {
|
||||
$group = $handles[$project]->getName();
|
||||
}
|
||||
$grouped[$group][$task->getID()] = $task;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue