Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Division by zero when limit=0 in Paginator #14303

Closed
ruudboon opened this issue Aug 16, 2019 · 1 comment
Assignees
Labels

Comments

@ruudboon
Copy link
Member

@ruudboon ruudboon commented Aug 16, 2019

When setting limit to < 1 on Paginator\Adapter\QueryBuilder a division by zero occurs.
Input should be checked to be > 0.

Phalcon 4.0.0-beta.1

Expecting an exception when setting incorrect parameters

@ruudboon ruudboon self-assigned this Sep 9, 2019
@ruudboon ruudboon referenced this issue Sep 10, 2019
4 of 5 tasks complete
niden added a commit that referenced this issue Sep 10, 2019
@niden

This comment has been minimized.

Copy link
Member

@niden niden commented Sep 10, 2019

Resolved

@niden niden closed this Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.