From 44b7d013ae304a05699179bb4ea0077956c57e10 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 16 Dec 2013 21:39:06 -0500 Subject: [PATCH] Fix whitespace error. --- lib/Cake/Utility/Validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Utility/Validation.php b/lib/Cake/Utility/Validation.php index fa5f0e53a..e78a956cf 100644 --- a/lib/Cake/Utility/Validation.php +++ b/lib/Cake/Utility/Validation.php @@ -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);