r112125 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112124‎ | r112125 | r112126 >
Date:18:08, 22 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix filter issue
Modified paths:
  • /trunk/extensions/EducationProgram/includes/EPRoleObject.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/includes/EPRoleObject.php
@@ -252,10 +252,10 @@
253253 $result = wfGetDB( DB_SLAVE )->select(
254254 array( 'ep_courses', 'ep_users_per_course' ),
255255 $courseTable->getPrefixedFields( is_null( $fields ) ? $courseTable->getFieldNames() : (array)$fields ),
256 - array(
 256+ array_merge( array(
257257 'upc_role' => $this->getRoleId(),
258258 'upc_user_id' => $this->getField( 'user_id' ),
259 - ),
 259+ ), EPCourses::singleton()->getPrefixedValues( $conditions ) ),
260260 __METHOD__,
261261 array(),
262262 array(

Status & tagging log