Closed jiminy closed 11 years ago
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.
Thank you!
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.