|
|
@ -23,7 +23,7 @@ class BadgeController extends AbstractController |
|
|
|
} |
|
|
|
|
|
|
|
$stats = $taskLifecycleManager->getProjectStats($project); |
|
|
|
if (!isset($stats[$status])) { |
|
|
|
if (empty($stats) || !isset($stats[$status])) { |
|
|
|
throw new NotFoundHttpException('Status not found'); |
|
|
|
} |
|
|
|
|
|
|
|