mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-59132 mod_feedback: Fix anonymous responses numbering
This was done correctly by the web scrip but not by the WS.
This commit is contained in:
parent
78ab4f741b
commit
7c3c0fa323
@ -1149,6 +1149,8 @@ class mod_feedback_external extends external_api {
|
||||
|
||||
$feedbackstructure = new mod_feedback_structure($feedback, $cm, $course->id);
|
||||
$responsestable = new mod_feedback_responses_table($feedbackstructure, $groupid);
|
||||
// Ensure responses number is correct prior returning them.
|
||||
$feedbackstructure->shuffle_anonym_responses();
|
||||
$anonresponsestable = new mod_feedback_responses_anon_table($feedbackstructure, $groupid);
|
||||
|
||||
$result = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user