You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem is that $respondents for a group selection should be the number of respondents in the group, and not all the groups. Then, we also wouldn't see "6/3".
Error Percent calculated for all responses when group selected, ignore participants in group selected. The sum of percent options not is 100%.
Error Print:

Fix Print:

To Fix:
File: /mod/questionnaire/classes/response/base.php
Line Error: $percent = round((float)$num / (float)$respondents * 100.0);
Line Fix: $percent = round((float)$num / (float)$participants * 100.0);
Solution: change variable $respondents to $participants
The text was updated successfully, but these errors were encountered: