I am having a CActive.checkBox for making a user active/inactive.
When i uncheck the checkbox the user becomes inactive and it is reflected in database, but still my checkbox for that user shows checked when i comes back to the page.
I have defined active field as tinyint(1), default value is 1