Index: trunk/extensions/ArticleFeedback/api/ApiArticleFeedback.php |
— | — | @@ -71,6 +71,7 @@ |
72 | 72 | |
73 | 73 | foreach( $wgArticleFeedbackRatings as $rating ) { |
74 | 74 | $lastRating = false; |
| 75 | + $lastRevision = false; |
75 | 76 | if ( isset( $lastRatings[$rating] ) ) { |
76 | 77 | $lastRating = intval( $lastRatings[$rating]['value'] ); |
77 | 78 | $lastRevision = intval( $lastRatings[$rating]['revision'] ); |