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

checked for type array to avoid error #1428

Merged

Conversation

emrysr
Copy link
Contributor

@emrysr emrysr commented Sep 25, 2019

related to #1424

@borpin - I can't reproduce the error you reported... added an if statement to check that the variable is an array before the push() function is used

please let me know if the issue persists.

@emrysr emrysr mentioned this pull request Sep 25, 2019
@borpin
Copy link
Contributor

borpin commented Sep 25, 2019

Could a log message be raised? If it is a situation that should not happen, then I suggest it should be logged.

I'm not sure what the 'fix' is actually doing. Is it overwriting the cookie as the existing cookie is corrupted? What impact will a user see?

@TrystanLea TrystanLea merged commit fcb27b1 into emoncms:master Oct 7, 2019
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