Skip to content

Commit

Permalink
fixed-php8-incompatibility (#35)
Browse files Browse the repository at this point in the history
Co-authored-by: erk <[email protected]>
  • Loading branch information
beetofly and beetofly authored Dec 21, 2022
1 parent 46ac392 commit 10edf37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/TriggerCampaignController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 10edf37

Please sign in to comment.