Index: trunk/extensions/ArticleAssessmentPilot/api/ApiArticleAssessment.php |
— | — | @@ -39,8 +39,8 @@ |
40 | 40 | } |
41 | 41 | |
42 | 42 | $thisRating = 0; |
43 | | - if ( isset( $params["r{i}"] ) ) { |
44 | | - $thisRating = $params["r{i}"]; |
| 43 | + if ( isset( $params["r{$i}"] ) ) { |
| 44 | + $thisRating = $params["r{$i}"]; |
45 | 45 | } |
46 | 46 | |
47 | 47 | $this->insertPageRating( $pageId, $i, ( $thisRating - $lastRating ), |