From 087155dad0dd309dd3021244a23385635dae2682 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Sun, 25 Jul 2021 14:14:25 +0200 Subject: Fix PHP 8.1 warnings --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 4ef56b6..493a85f 100644 --- a/it.class +++ b/it.class @@ -1039,7 +1039,7 @@ static function date($format = "", $stamp = null) $formatstring = $format; } - return date($formatstring, $stamp); + return date($formatstring, intval($stamp)); } # Internal: Convert expression or funcname or function literal to callable -- cgit v1.2.3