Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/opencart/opencart
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Apr 21, 2024
2 parents 17db7cf + 3a46c77 commit bbff3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/controller/account/returns.php
Expand Up @@ -74,7 +74,7 @@ public function index(): void {
'total' => $return_total,
'page' => $page,
'limit' => $limit,
'url' => $this->url->link('account/returns', 'language=' . $this->config->get('config_language') . '&page={page}')
'url' => $this->url->link('account/returns', 'language=' . $this->config->get('config_language') . '&customer_token=' . $this->session->data['customer_token'] . '&page={page}')
]);

$data['results'] = sprintf($this->language->get('text_pagination'), ($return_total) ? (($page - 1) * $limit) + 1 : 0, ((($page - 1) * $limit) > ($return_total - $limit)) ? $return_total : ((($page - 1) * $limit) + $limit), $return_total, ceil($return_total / $limit));
Expand Down

0 comments on commit bbff3ce

Please sign in to comment.