r71987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71986‎ | r71987 | r71988 >
Date:22:09, 30 August 2010
Author:reedy
Status:deferred
Tags:
Comment:
Add in some missing $
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/api/ApiArticleAssessment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/api/ApiArticleAssessment.php
@@ -39,8 +39,8 @@
4040 }
4141
4242 $thisRating = 0;
43 - if ( isset( $params["r{i}"] ) ) {
44 - $thisRating = $params["r{i}"];
 43+ if ( isset( $params["r{$i}"] ) ) {
 44+ $thisRating = $params["r{$i}"];
4545 }
4646
4747 $this->insertPageRating( $pageId, $i, ( $thisRating - $lastRating ),

Status & tagging log