Index: trunk/extensions/ArticleAssessmentPilot/api/ApiListArticleAssessment.php |
— | — | @@ -49,8 +49,8 @@ |
50 | 50 | } |
51 | 51 | } |
52 | 52 | |
53 | | - $limit = $params['limit'] * 4; //4 "Ratings" |
54 | | - $this->addOption( 'LIMIT', $limit ); |
| 53 | + $limit = $params['limit']; |
| 54 | + $this->addOption( 'LIMIT', $limit * 4 ); //4 "Ratings" |
55 | 55 | |
56 | 56 | $res = $this->select( __METHOD__ ); |
57 | 57 | |