-
-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Description
Conditional rules don't explode correctly on this line: https://github.com/proengsoft/laravel-jsvalidation/blob/master/src/Javascript/RuleParser.php#L96
Wrapping $rules in an array [ $rules ] results in a multi-dimensional array, and subsequently explodeRules() doesn't handle it correctly.
Replacing with (array) $rules seems to fix the problem. Thoughts?
Metadata
Metadata
Assignees
Labels
No labels