r86017 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86016‎ | r86017 | r86018 >
Date:00:25, 14 April 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
follow up to r85993
Modified paths:
  • /trunk/extensions/Ratings/Ratings.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Ratings/Ratings.class.php
@@ -116,7 +116,7 @@
117117 )
118118 );
119119
120 - while ( $vote = $votes->fetchObject() ) {
 120+ foreach( $votes as $vote ) {
121121 $tags[$vote->vote_prop_id]['count']++;
122122 $tags[$vote->vote_prop_id]['total'] += $vote->vote_value;
123123 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85993importing Ratings extensionjeroendedauw22:22, 13 April 2011

Status & tagging log