Skip to content

Commit

Permalink
Follow up to a0cc824, errors will be generated for array values, fixe…
Browse files Browse the repository at this point in the history
…s #2929
  • Loading branch information
Woody Gilk committed Jun 8, 2010
1 parent a0cc824 commit d7cdbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/kohana/validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ public function errors($file = NULL, $translate = TRUE)
if (is_array($values[':value']))
{
// All values must be strings
$values[':value'] = implode(', ', Arr::flatten($values[':values']));
$values[':value'] = implode(', ', Arr::flatten($values[':value']));
}

if ($params)
Expand Down

0 comments on commit d7cdbfd

Please sign in to comment.