[solved] error in using time picker in yii

I am using the time picker http://www.yiiframework.com/extension/jtimepicker/ in my form and I have set the databse table field to TIME, but when the time is not saved in the database.

I have set the time attribute type in database to TIME.

please if anyone knows the solution then tell me

paste your code

solve by declaring the attribute as "safe" in validation rules.