mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
22d2564de9
When doing pagination you could get offset not as a int(eg. 10) but string(eg. "10") and it will not paginate at all. For example DataTables plugin pass offset from params and all params from http request are strings wrapped in numbers. Adding ctype_digit($offset) will also check the case. |
||
---|---|---|
.. | ||
Mysql.php | ||
Postgres.php | ||
Sqlite.php | ||
Sqlserver.php |