diff options
-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; |