diff --git a/Controller/PersonController.php b/Controller/PersonController.php index 89745b6a3..42b2cd1ae 100644 --- a/Controller/PersonController.php +++ b/Controller/PersonController.php @@ -52,7 +52,7 @@ class PersonController extends Controller $person = $this->_getPerson($person_id); if ($person === null) { - return $this->createNotFoundException("Person with id $person_id not" + throw $this->createNotFoundException("Person with id $person_id not" . " found on this server"); }