Index: trunk/extensions/Review/Review.php |
— | — | @@ -610,7 +610,7 @@ |
611 | 611 | $ret .= "</td>" ; |
612 | 612 | } else { |
613 | 613 | $ret .= "<td id='review_statistics_table_cell'>" ; |
614 | | - if ( $data[$type]->total_count > 0 ) { |
| 614 | + if ( isset( $data[$type] ) && $data[$type]->total_count > 0 ) { |
615 | 615 | $average = $data[$type]->sum / $data[$type]->total_count ; |
616 | 616 | $ret .= "<div id='" ; |
617 | 617 | $ret .= "review_radio_" . (int) $average . "_of_" . $data[$type]->max ; |