changed continue to return in validation library.

This commit is contained in:
Taylor Otwell 2011-07-13 20:59:51 -05:00
parent 99ae26d0e6
commit cffbcd010d
1 changed files with 1 additions and 1 deletions

View File

@ -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))