We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in Views/BookReviews.php the way that $q_and_a is set via array_slice and private instance variable $slice https://github.com/BCcampus/opentextbooks/blob/dev/inc/Views/BookReviews.php#L58 makes it vulnerable to changes made to the form questions.
Views/BookReviews.php
$q_and_a
array_slice
$slice
Expected behaviour
Reviews shouldn't break when users make changes to the form questions
Actual behaviour
The array of questions and answers is off, due to an increase in the array length.
change a question in LimeSurvey, watch the reviews fall apart.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
in
Views/BookReviews.php
the way that$q_and_a
is set viaarray_slice
and private instance variable$slice
https://github.com/BCcampus/opentextbooks/blob/dev/inc/Views/BookReviews.php#L58 makes it vulnerable to changes made to the form questions.Expected behaviour
Reviews shouldn't break when users make changes to the form questions
Actual behaviour
The array of questions and answers is off, due to an increase in the array length.
Steps to reproduce the problem
change a question in LimeSurvey, watch the reviews fall apart.
The text was updated successfully, but these errors were encountered: