rilwis/meta-box — pull request #64 by funkedgeek (2012-01-13 14:22:30+00:00)
Title: Alternate solution to clone code

I found that if a select field was both multiple and clone, the id was given two sets of []. Changed th code to fix this. Instead of adding [] to your field id, just add the clone option instead:

```php
...
'fields' => array( // List of meta fields
array(
'name' => 'Full name', // Field name
'desc' => 'Format: First Last', // Field description, optional
'id' => $prefix . 'fname', // Field id, i.e. the meta key
'clone' => true, //Add to make the field cloneable (i.e. have multiple value)
'type' => 'text', // Field type: text box
'std' => 'Anh Tran' // Default value, optional
),
...
```