diff options
Diffstat (limited to 'checkpkgist/checkpkgist.php')
-rwxr-xr-x | checkpkgist/checkpkgist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkpkgist/checkpkgist.php b/checkpkgist/checkpkgist.php index 482cc4d..91b170b 100755 --- a/checkpkgist/checkpkgist.php +++ b/checkpkgist/checkpkgist.php @@ -103,7 +103,7 @@ function run($name, $rpm) { if (strpos($pkver, 'dev') !== false) { continue; } - $date = new DateTime($pkg['time']); + $date = new DateTime($pkg['time']??'now'); if (version_compare($pkver, $maxver, 'gt')) { $maxver = $pkver; $maxdat = $date; |