jenkins-bot has submitted this change and it was merged.

Change subject: Fix output of non-student participants
......................................................................


Fix output of non-student participants

Change-Id: I0b3fdbbdb3a7cb7e8e268c446b93647e7324481a
---
M includes/api/ApiListStudents.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  AndyRussG: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/api/ApiListStudents.php b/includes/api/ApiListStudents.php
index 078fdc1..31edb13 100644
--- a/includes/api/ApiListStudents.php
+++ b/includes/api/ApiListStudents.php
@@ -290,7 +290,7 @@
                // Add the properties for each participant to the result.
                $participantIndex = 0;
 
-               foreach ( $participantsList as $participant ) {
+               foreach ( $participantList as $participant ) {
 
                        // Add username to the result.
                        $results->addValue(

-- 
To view, visit https://gerrit.wikimedia.org/r/183770
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0b3fdbbdb3a7cb7e8e268c446b93647e7324481a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EducationProgram
Gerrit-Branch: master
Gerrit-Owner: Ragesoss <[email protected]>
Gerrit-Reviewer: AndyRussG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to