diff options
Diffstat (limited to 'lib.php')
-rw-r--r-- | lib.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -225,7 +225,7 @@ function key2timestamp($key) { global $tz; $date = DateTime::createFromFormat("YmdHis", $key+0, $tz); - if ($date <= 0) + if ($date === false) return null; return $date->getTimestamp(); |