Skip to content

Commit

Permalink
Merge branch 'hotfix/7/3-customer' into 'release_7-lts'
Browse files Browse the repository at this point in the history
Test: Ensure proper use of `unserialize`

Closes #3

See merge request ilias-lts/ilias!19
  • Loading branch information
mjansenDatabay committed Jun 18, 2024
2 parents fd00920 + 5624fc4 commit ba8db57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ public function getPreview($show_question_only = false, $showInlineFeedback = fa
if ($this->getPreviewSession() && $this->getPreviewSession()->hasParticipantSolution()) {
$solutionOrderingElementList = unserialize(
$this->getPreviewSession()->getParticipantsSolution(),
['allowed_classes' => false]
['allowed_classes' => true]
);
} else {
$solutionOrderingElementList = $this->object->getShuffledOrderingElementList();
Expand Down

0 comments on commit ba8db57

Please sign in to comment.