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

[5.7] Replace all placeholders for comparison rules (gt/gte/lt/lte) properly #25513

Merged
merged 3 commits into from
Sep 10, 2018

Conversation

Alymosul
Copy link
Contributor

@Alymosul Alymosul commented Sep 7, 2018

The bug is explained here #25481. TLDR; The replacer method replaces the place holder with a 0 instead of the actual value that we're comparing against.

@Alymosul Alymosul changed the title [5.6][Bug Fix] Replace all placeholders for comparison rules (gt/gte/lt/lte) properly. [5.7][Bug Fix] Replace all placeholders for comparison rules (gt/gte/lt/lte) properly. Sep 7, 2018
@taylorotwell
Copy link
Member

@themsaid can you review this?

@GrahamCampbell GrahamCampbell changed the title [5.7][Bug Fix] Replace all placeholders for comparison rules (gt/gte/lt/lte) properly. [5.7] Replace all placeholders for comparison rules (gt/gte/lt/lte) properly Sep 8, 2018
@themsaid themsaid merged commit adc49ac into laravel:5.7 Sep 10, 2018
@martinbean
Copy link
Contributor

@taylorotwell @themsaid Will this be getting back-ported into 5.6 at all?

@bonzai
Copy link
Contributor

bonzai commented Sep 18, 2018

@martinbean: Laravel 5.6 is not supported anymore.

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.

5 participants