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

Added a typecast for check on purge_page_on_new_comment option for ne… #175

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

jinschoi
Copy link
Contributor

New comments were not purging the post.

Using === for equality comparisons require both operands to be of the same type. Other instances of this and similar checks of integer-type options have the appropriate cast. Missing it here means new comments will not purge the post properly.

@tdtgit
Copy link

tdtgit commented Apr 9, 2019

When will this PR appear in a release? Just updated to Nginx Helper 2.0.3 and still didn't fix this issue. @mbtamuli

@jinschoi
Copy link
Contributor Author

Please merge this simple and obvious fix.

@pradeep910 pradeep910 merged commit 229da25 into rtCamp:master Jul 16, 2019
@pradeep910
Copy link
Collaborator

Thanks @tdtgit and @jinschoi for the contribution. Merged it.

@IvanRF
Copy link

IvanRF commented Jul 31, 2019

@pradeep910 any idea on when this fix will be released on a new version? thanks!

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.

4 participants