Ragesoss has uploaded a new change for review.
https://gerrit.wikimedia.org/r/183770
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(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EducationProgram
refs/changes/70/183770/1
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: newchange
Gerrit-Change-Id: I0b3fdbbdb3a7cb7e8e268c446b93647e7324481a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EducationProgram
Gerrit-Branch: master
Gerrit-Owner: Ragesoss <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits