diff --git a/Controller/TriggerCampaignController.php b/Controller/TriggerCampaignController.php index 9d5b075..0fce6f7 100644 --- a/Controller/TriggerCampaignController.php +++ b/Controller/TriggerCampaignController.php @@ -418,7 +418,7 @@ protected function getTriggerCampaigns($filter, $start, $limit, $orderBy, $order protected function redirectToLastPage(int $count, int $limit): Response { - $lastPage = (1 === $count) ? 1 : (ceil($count / $limit)) ?: 1; + $lastPage = ((1 === $count) ? 1 : (ceil($count / $limit))) ?: 1; $this->session->set(self::SESSION_VARS['search'], $lastPage); $viewParameters = ['page' => $lastPage];