Index: trunk/extensions/CodeReview/api/ApiQueryCodeRevisions.php |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | |
62 | 62 | $query = $pager->getQueryInfo(); |
63 | 63 | |
64 | | - $query['conds'][] = array( 'cr_id IN' => $params['revs'] ); |
| 64 | + $query['conds'][] = 'cr_id IN (' . $db->makeList( $params['revs'] ) . ')'; |
65 | 65 | |
66 | 66 | $revisions = $db->select( $query['tables'], $query['fields'], $query['conds'], |
67 | 67 | __METHOD__, $query['options'], $query['join_conds'] ); |