Wednesday, January 2, 2013

Yii save() is not saving

You probably have some issues with validation performed in CActiveRecord to get the error just var_dump( $modelobject->getErrors()) or if you want to bypass the validation simply $modelobject->save(false);

No comments:

Post a Comment