Ignore:
Timestamp:
Jun 7, 2022 6:41:24 AM (23 months ago)
Author:
anonymous
Message:

Add App param ‘template_ext’ used to inform services where to find header and footer templates. Minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/lib/FormValidator.inc.php

    r584 r767  
    452452    function validateStrDate($form_name, $msg='')
    453453    {
    454         if (($timestamp = strtotime(getFormData($form_name))) === -1) {
     454        if (false === strtotime($val)) {
    455455            $this->addError($form_name, $msg);
    456456            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.