Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php |
— | — | @@ -22,8 +22,8 @@ |
23 | 23 | $this->api = $this->getApi(); |
24 | 24 | $output = ''; |
25 | 25 | $ratings = $this->api->fetchOverallRating( $pageId ); |
26 | | - $found = $ratings['found']; |
27 | | - $rating = $ratings['rating']; |
| 26 | + $found = isset( $ratings['found'] ) ? $ratings['found'] : null; |
| 27 | + $rating = isset( $ratings['rating'] ) ? $ratings['rating'] : null; |
28 | 28 | |
29 | 29 | $output .= "[[Wikipedia:$title|Go to Article]] |
30 | 30 | | [[Wikipedia:$title|Discussion page]] |