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

[6.x] Fixes Query Builder to only cast integer when given other than null #39644

Merged
merged 3 commits into from
Nov 17, 2021

Conversation

crynobone
Copy link
Member

The regression bug was introduced in v6.20.39 and v8.71.0

Fixes laravel/nova-issues#3637

Signed-off-by: Mior Muhammad Zaki crynobone@gmail.com

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Copy link
Member

@GrahamCampbell GrahamCampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

@taylorotwell taylorotwell merged commit 231a703 into laravel:6.x Nov 17, 2021
taylorotwell added a commit that referenced this pull request Nov 17, 2021
* wip

* [6.x] Fixes Query Builder to only cast integer when given other than `null` (#39644)

* Add failing tests

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Only cast integer when given other than null

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Improve tests

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

Co-authored-by: Taylor Otwell <taylor@laravel.com>
Co-authored-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone crynobone deleted the patch-limit branch November 19, 2021 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants