humanmade/Custom-Meta-Boxes — pull request #244 by mattheu (2014-09-08 13:33:35+00:00)
Title: Repeatable group with more than 1 checkbox renders/saves incorrect values

Hi, thanks for a great work! I came across something I think is a bug.. consider this matebox:
```php
$fields = array(
array( 'id' => 'pricing_features',
//'name' => 'Pricing Features',
'type' => 'group',
'repeatable' => true,
'sortable' => true,
'fields' => array(
array( 'id' => 'pricing_feature', 'name' => '', 'type' => 'text', 'cols' => 6 ),
array( 'id' => 'a1', 'name' => '', 'type' => 'checkbox', 'cols' => 2, 'default' => 0 ),
array( 'id' => 'b2', 'name' => '', 'type' => 'checkbox', 'cols' => 2, 'default' => 0 ),
array( 'id' => 'c3', 'name' => '', 'type' => 'checkbox', 'cols' => 2, 'default' => 0 ),
)
),
);
$meta_boxes[] = array(
'title' => 'Pricing Features',
'pages' => 'page',
'show_on' => array( 'page-template' => array( 'page-pricing.php' ) ),
'context' => 'normal',
'priority' => 'high',
'fields' = $fields);
```

When on the page create 2 groups, on the first group created check the second checkbox (b2) and on the second group created check the first box (a1) and then save the page you'll see that when the page refreshes group 1 shows correctly and group 2 have both a1 and b2 checkbox selected even though only a1 was checked.

here's a screenshot of the case:
![screen shot 2014-08-21 at 4 12 36 pm](https://cloud.githubusercontent.com/assets/300232/4001825/f4a8dcb0-2966-11e4-8db8-0b6241082631.png)

Thanks!