-
Notifications
You must be signed in to change notification settings - Fork 986
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
Fixed issue #18765: Answers are not populated correct in array dual scale after clicking "Back" #3061
Conversation
…cale after clicking "Back"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=== ''
0 == '' == false
application/core/QuestionTypes/ArrayMultiscale/RenderArrayMultiscale.php
Outdated
Show resolved
Hide resolved
application/core/QuestionTypes/ArrayMultiscale/RenderArrayMultiscale.php
Outdated
Show resolved
Hide resolved
application/core/QuestionTypes/ArrayMultiscale/RenderArrayMultiscale.php
Outdated
Show resolved
Hide resolved
I tested this and it works as expected. Testing protocol:
|
OK, loose compare string with string |
…cale after clicking "Back"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only 2 value for no answer null or ===''
Usage of is_empty make it complex to understand. And clearly : we need to check this 2 values.
application/core/QuestionTypes/ArrayMultiscale/RenderArrayMultiscale.php
Show resolved
Hide resolved
application/core/QuestionTypes/ArrayMultiscale/RenderArrayMultiscale.php
Show resolved
Hide resolved
…cale after clicking "Back"
Kudos, SonarCloud Quality Gate passed! |
No description provided.