Fix whitespace error.

This commit is contained in:
mark_story 2013-12-16 21:39:06 -05:00
parent 01be15d654
commit 44b7d013ae

View file

@ -331,7 +331,7 @@ class Validation {
$separator . '((1[6-9]|[2-9]\\d)\\d{2})$%';
$regex['my'] = '%^(' . $month . $separator . $year . ')$%';
$regex['ym'] = '%^(' . $year . $separator . $month . ')$%';
$regex['ym'] = '%^(' . $year . $separator . $month . ')$%';
$regex['y'] = '%^(' . $fourDigitYear . ')$%';
$format = (is_array($format)) ? array_values($format) : array($format);