|
|
@@ -984,7 +984,7 @@ class Validation
|
|
|
$formatted = '';
|
|
|
if (
|
|
|
isset($value['year'], $value['month'], $value['day']) &&
|
|
|
- (is_numeric($value['year']) & is_numeric($value['month']) && is_numeric($value['day']))
|
|
|
+ (is_numeric($value['year']) && is_numeric($value['month']) && is_numeric($value['day']))
|
|
|
) {
|
|
|
$formatted .= sprintf('%d-%02d-%02d ', $value['year'], $value['month'], $value['day']);
|
|
|
}
|