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
  • trunk/lib/Validator.inc.php

    r737 r767  
    404404        }
    405405
    406         $timestamp = strtotime($val);
    407         if (!$timestamp || $timestamp < 1) {
     406        if (false === strtotime($val)) {
    408407            $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);
    409408            return false;
Note: See TracChangeset for help on using the changeset viewer.