Skip to content

Commit

Permalink
Fixed formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Lückers committed Apr 19, 2018
1 parent dc8a181 commit 2424477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/components/formit/src/FormIt/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,8 @@ public function isNumber($key,$value) {
public function isDate($key,$value,$format = '%m/%d/%Y') {
/* allow empty isDate, :required should be used to prevent blank field */
if (empty($value)) {
return true;
}
return true;
}

$ts = strtotime($value);
if ($ts === false) {
Expand Down

0 comments on commit 2424477

Please sign in to comment.