Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fix EConditionalValidator::validateAttribute() #12

Merged
merged 1 commit into from Nov 6, 2012

Conversation

Projects
None yet
2 participants
Contributor

jiminy commented Sep 26, 2012

  1. Object should be cloned, because the function getAttributes() doesn't return the public properties of model (non-db fields).
  2. In validator with several attributes function array_splice() removes all parameters of $rule.
@jiminy jiminy fix EConditionalValidator::validateAttribute()
1) Object should be cloned, because the function getAttributes() doesn't return the public properties of model (non-db fields).
2) In validator with several attributes function array_splice() removes all parameters of $rule.
6acb0ac

@tonydspaniard tonydspaniard added a commit that referenced this pull request Nov 6, 2012

@tonydspaniard tonydspaniard Merge pull request #12 from jiminy/master
fix EConditionalValidator::validateAttribute()
7a622b7

@tonydspaniard tonydspaniard merged commit 7a622b7 into tonydspaniard:master Nov 6, 2012

Owner

tonydspaniard commented Nov 6, 2012

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment