UserMasterController Code:
public function actionUpdate($id){ $model=$this->loadModel($id); if(isset($_POST[\'UserMaster\'])){ $model-&g
Use $model->emailsent='N';. Thats all
$model->emailsent='N';
Just try this $model->setAttribute($name,$value);
$model->setAttribute($name,$value);