Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -878,6 +878,7 @@ |
879 | 879 | 'ft_tmp_rev_id != page_latest' ), |
880 | 880 | __METHOD__ ); |
881 | 881 | } |
| 882 | + $tmpChanges = array(); |
882 | 883 | while( $row = $dbr->fetchObject( $ret ) ) { |
883 | 884 | $title = Title::makeTitle( $row->ft_namespace, $row->ft_title ); |
884 | 885 | $revID = isset($row->fp_stable) ? $row->fp_stable : $row->ft_tmp_rev_id; |
— | — | @@ -925,6 +926,7 @@ |
926 | 927 | 'fi_img_sha1 != img_sha1' ), |
927 | 928 | __METHOD__ ); |
928 | 929 | } |
| 930 | + $imgChanges = array(); |
929 | 931 | while( $row = $dbr->fetchObject( $ret ) ) { |
930 | 932 | $title = Title::makeTitle( NS_IMAGE, $row->fi_name ); |
931 | 933 | $imgChanges[] = $skin->makeKnownLinkObj( $title ); |