Index: trunk/extensions/ArticleFeedback/SpecialArticleFeedback.php |
— | — | @@ -220,7 +220,7 @@ |
221 | 221 | // check if we've got results in the cache |
222 | 222 | $key = wfMemcKey( 'article_feedback_stats_highs_lows' ); |
223 | 223 | $cache = $wgMemc->get( $key ); |
224 | | - if ( $cache ) { |
| 224 | + if ( $cache instanceof ResultsWrapper ) { |
225 | 225 | $result = $cache; |
226 | 226 | } else { |
227 | 227 | $dbr = wfGetDB( DB_SLAVE ); |