diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-11-26 17:43:37 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-11-26 17:43:37 +0000 |
commit | 1577a55fcfd865401b16eee0fa5e34cfd54f2ec1 (patch) | |
tree | 3019cada7087f25de7b63508825ae5cb0ea8b8da /lib.php | |
parent | 9e274e5d754e4d98190afb0d45f62b3af9eaa850 (diff) | |
download | pkgsubmit-1577a55fcfd865401b16eee0fa5e34cfd54f2ec1.tar pkgsubmit-1577a55fcfd865401b16eee0fa5e34cfd54f2ec1.tar.gz pkgsubmit-1577a55fcfd865401b16eee0fa5e34cfd54f2ec1.tar.bz2 pkgsubmit-1577a55fcfd865401b16eee0fa5e34cfd54f2ec1.tar.xz pkgsubmit-1577a55fcfd865401b16eee0fa5e34cfd54f2ec1.zip |
Fix a warning
Diffstat (limited to 'lib.php')
-rw-r--r-- | lib.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -232,7 +232,7 @@ function plural($num) function key2timestamp($key) { global $tz; - $date = DateTime::createFromFormat("YmdHis", $key+0, $tz); + $date = DateTime::createFromFormat("YmdHis", (int)$key, $tz); if ($date === false) return null; |