changed continue to return in validation library.
This commit is contained in:
parent
99ae26d0e6
commit
cffbcd010d
|
@ -120,7 +120,7 @@ protected function check($attribute, $rule)
|
|||
// is "required" or "accepted". No other rules have implicit "required" checks.
|
||||
if ( ! array_key_exists($attribute, $this->attributes) and ! in_array($rule, array('required', 'accepted')))
|
||||
{
|
||||
continue;
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! $this->$validator($attribute, $parameters))
|
||||
|
|
Loading…
Reference in New Issue