-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
model validation #11
Comments
Sounds good and thanks for catching that. Would be great if you could submit a pull request with this change. |
Wanprabu have you had a chance to work on this? |
I will try it, but sorry I can't do it the near future. I'm quite busy this month. I hope next month I will have a chance to work on this. |
Cool. No problem. Thanks... On Sunday, February 24, 2013, wahyu andy wrote:
|
in your saveModel function, I think it's better to put
if(!$models[$i]->validate())
inside the next for.
Because when the condition goes to the first if (in case only one data posted)
if(!isset($data[0])))
then the model will not be validated
Thanks
The text was updated successfully, but these errors were encountered: