Various multi-currency things in the autocomplete API.

This commit is contained in:
James Cole
2024-12-28 18:38:19 +01:00
parent af78d998db
commit a1241ebedb
4 changed files with 27 additions and 23 deletions

View File

@@ -93,8 +93,8 @@ class Controller extends BaseController
if ($page < 1) {
$page = 1;
}
if ($page > 2 ** 16) {
$page = 2 ** 16;
if ($page > pow(2,16)) {
$page = pow(2, 16);
}
$bag->set('page', $page);