fix error: the "see more" link was not showed

This commit is contained in:
2018-11-20 21:38:03 +01:00
parent f4331f1756
commit 176ca90e39
3 changed files with 16 additions and 14 deletions

View File

@@ -389,7 +389,7 @@ class SingleTaskController extends Controller
$params['person'] = $person;
} elseif (!empty($request->query->get('center_id', NULL))) {
$center = $centerRepository->find($request->query->getInt('center_id'));
dump($center);
if ($center === null) {
throw $this->createNotFoundException('center not found');
}