r95310 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95309‎ | r95310 | r95311 >
Date:14:42, 23 August 2011
Author:catrope
Status:ok
Tags:
Comment:
Shut up undefined variable notice
Modified paths:
  • /trunk/extensions/ArticleFeedback/api/ApiArticleFeedback.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/api/ApiArticleFeedback.php
@@ -71,6 +71,7 @@
7272
7373 foreach( $wgArticleFeedbackRatings as $rating ) {
7474 $lastRating = false;
 75+ $lastRevision = false;
7576 if ( isset( $lastRatings[$rating] ) ) {
7677 $lastRating = intval( $lastRatings[$rating]['value'] );
7778 $lastRevision = intval( $lastRatings[$rating]['revision'] );

Status & tagging log