Changeset 767 for branches/1.1dev/lib
- Timestamp:
- Jun 7, 2022 6:41:24 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/lib/FormValidator.inc.php
r584 r767 452 452 function validateStrDate($form_name, $msg='') 453 453 { 454 if ( ($timestamp = strtotime(getFormData($form_name))) === -1) {454 if (false === strtotime($val)) { 455 455 $this->addError($form_name, $msg); 456 456 logMsg(sprintf('The string date %s is not valid.', getFormData($form_name)), LOG_DEBUG, __FILE__, __LINE__);
Note: See TracChangeset
for help on using the changeset viewer.