This commit is contained in:
Jean-Christian Denis 2023-08-26 17:53:05 +02:00
parent 5fa9b0bdea
commit 51c636f018
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -309,7 +309,7 @@ class Utils
'log_table' => My::id() . '_report',
]);
return $rs->isEmpty() || !is_string($rs->f('log_dt')) || (int) Date::str('%s', $rs->f('log_dt')) + self::EXPIRED_DELAY < time();
return $rs->isEmpty() || !is_string($rs->f('log_dt')) || (int) strtotime($rs->f('log_dt')) + self::EXPIRED_DELAY < time();
}
private static function contents(): string