close
Skip to content

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

Merged
pradeep910 merged 1 commit into
rtCamp:masterfrom
jinschoi:master
Jul 16, 2019
Merged

Added a typecast for check on purge_page_on_new_comment option for ne…#175
pradeep910 merged 1 commit into
rtCamp:masterfrom
jinschoi:master

Conversation

@jinschoi

Copy link
Copy Markdown
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

tdtgit commented Apr 9, 2019

Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

Please merge this simple and obvious fix.

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

Copy link
Copy Markdown
Collaborator

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

@IvanRF

IvanRF commented Jul 31, 2019

Copy link
Copy Markdown

@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