Problem with generateHiddenFields()

$v = array()
``` 
<input type="hidden" value="Array" name="published"> 
```

Modified with ``` $v['value'] ```

```
<input type="hidden" value="1" name="published">
```