Index: trunk/phase3/includes/HTMLForm.php |
— | — | @@ -1270,7 +1270,7 @@ |
1271 | 1271 | } else { |
1272 | 1272 | $thisAttribs = array( 'id' => $this->mID . "-$info", 'value' => $info ); |
1273 | 1273 | |
1274 | | - $checkbox = Xml::check( $this->mName . '[]', $info === $value, |
| 1274 | + $checkbox = Xml::check( $this->mName . '[]', in_array( $info, $value, true ), |
1275 | 1275 | $attribs + $thisAttribs ); |
1276 | 1276 | $checkbox .= ' ' . Html::rawElement( 'label', array( 'for' => $this->mID . "-$info" ), $label ); |
1277 | 1277 | |