diff --git a/Classes/Controller/NewsBaseController.php b/Classes/Controller/NewsBaseController.php index 221c9f9c4..9f638520c 100644 --- a/Classes/Controller/NewsBaseController.php +++ b/Classes/Controller/NewsBaseController.php @@ -45,8 +45,7 @@ protected function handleNoNewsFoundError(string $configuration): ?ResponseInter switch ($options[0]) { case 'redirectToListView': - $this->redirect('list'); - break; + return $this->redirect('list'); case 'redirectToPage': if (count($options) === 1 || count($options) > 3) { $msg = sprintf(