summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorChristian Schneider2021-07-25 14:14:25 +0200
committerChristian Schneider2021-07-25 14:14:25 +0200
commit087155dad0dd309dd3021244a23385635dae2682 (patch)
tree55640af1374c928d48bd72a5e25e17746af201bc /it.class
parentf4512248dfaee789c24ae7cf506f89b3d81e19e8 (diff)
downloaditools-087155dad0dd309dd3021244a23385635dae2682.tar.gz
itools-087155dad0dd309dd3021244a23385635dae2682.tar.bz2
itools-087155dad0dd309dd3021244a23385635dae2682.zip
Fix PHP 8.1 warnings
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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