Update CForm.php

updated values method to give checked checkboxes