r113701 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113700‎ | r113701 | r113702 >
Date:01:18, 13 March 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix incorrect condition
Modified paths:
  • /trunk/extensions/EducationProgram/actions/ViewCourseAction.php (modified) (history)
  • /trunk/extensions/EducationProgram/specials/SpecialMyCourses.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/actions/ViewCourseAction.php
@@ -59,7 +59,7 @@
6060
6161 $pager = new EPArticleTable(
6262 $this->getContext(),
63 - array( 'id' => $studentIds ),
 63+ array( 'user_id' => $studentIds ),
6464 array( 'course_id' => $course->getId() )
6565 );
6666
Index: trunk/extensions/EducationProgram/specials/SpecialMyCourses.php
@@ -195,7 +195,7 @@
196196
197197 $pager = new EPArticleTable(
198198 $this->getContext(),
199 - array( 'id' => $this->getUser()->getId() ),
 199+ array( 'user_id' => $this->getUser()->getId() ),
200200 array( 'course_id' => $course->getId() )
201201 );
202202
@@ -233,7 +233,7 @@
234234
235235 $pager = new EPArticleTable(
236236 $this->getContext(),
237 - array( 'id' => $this->getUser()->getId() ),
 237+ array( 'user_id' => $this->getUser()->getId() ),
238238 array(
239239 'course_id' => $course->getId(),
240240 'user_id' => $this->getUser()->getId(),

Status & tagging log