Ignore:
Timestamp:
Aug 9, 2023 7:07:14 PM (9 months ago)
Author:
anonymous
Message:

Fix a few PHP Deprecated issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Validator.inc.php

    r770 r799  
    401401        }
    402402
    403         if (false === strtotime($val)) {
     403        if (!$val || false === strtotime($val)) {
    404404            $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);
    405405            return false;
Note: See TracChangeset for help on using the changeset viewer.