Index: trunk/extensions/MoodBar/SpecialMoodBarFeedback.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | $whatIsMsg = wfMessage( 'moodbar-feedback-whatis' )->escaped(); |
51 | 51 | $whatIsURL = htmlspecialchars( $wgMoodBarConfig['infoUrl'] ); |
52 | 52 | |
53 | | - $types = $wgRequest->getArray( 'type' ); |
| 53 | + $types = $wgRequest->getArray( 'type', array() ); |
54 | 54 | $happyCheckbox = Xml::check( 'type[]', in_array( 'happy', $types ), |
55 | 55 | array( 'id' => 'fbd-filters-type-praise', 'value' => 'happy' ) ); |
56 | 56 | $confusedCheckbox = Xml::check( 'type[]', in_array( 'confused', $types ), |