r71981 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71980‎ | r71981 | r71982 >
Date:21:12, 30 August 2010
Author:reedy
Status:deferred
Tags:
Comment:
Fix insert/update bug - Needed to where on rating_id
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/api/ApiArticleAssessment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/api/ApiArticleAssessment.php
@@ -121,13 +121,13 @@
122122 'article_assessment',
123123 array(
124124 'aa_timestamp' => wfTimestampNow(),
125 - 'aa_rating_id' => $ratingId,
126125 'aa_rating_value' => $ratingValue,
127126 ),
128127 array(
129128 'aa_page_id' => $pageId,
130129 'aa_user_text' => $user->getName(),
131130 'aa_revision' => $revisionId,
 131+ 'aa_rating_id' => $ratingId,
132132 ),
133133 __METHOD__
134134 );

Status & tagging log