jenkins-bot has submitted this change and it was merged.
Change subject: Fix how student id is passed to ArticleTable
......................................................................
Fix how student id is passed to ArticleTable
bug 47517
Change-Id: Id72faa91f88e2359d44129b07a32e3063b49a075
---
M includes/specials/SpecialManageCourses.php
M includes/specials/SpecialStudent.php
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Jeroen De Dauw: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/specials/SpecialManageCourses.php
b/includes/specials/SpecialManageCourses.php
index 6fbefb6..1023b89 100644
--- a/includes/specials/SpecialManageCourses.php
+++ b/includes/specials/SpecialManageCourses.php
@@ -238,7 +238,7 @@
$this->getContext(),
array( 'user_id' => $this->getUser()->getId() ),
$course->getId(),
- $this->getUser()->getId()
+ array( $this->getUser()->getId() )
);
$this->getOutput()->addModules( ArticleTable::getModules() );
diff --git a/includes/specials/SpecialStudent.php
b/includes/specials/SpecialStudent.php
index 7c15f8b..40c8a8c 100644
--- a/includes/specials/SpecialStudent.php
+++ b/includes/specials/SpecialStudent.php
@@ -97,7 +97,7 @@
$this->getContext(),
array( 'user_id' => $this->getUser()->getId() ),
$courseIds,
- $this->getUser()->getId()
+ array( $this->getUser()->getId() )
);
$this->getOutput()->addModules(
ArticleTable::getModules() );
--
To view, visit https://gerrit.wikimedia.org/r/60376
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id72faa91f88e2359d44129b07a32e3063b49a075
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EducationProgram
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Ragesoss <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits