fix #1722 fixing number_format() error on fresh install

This commit is contained in:
Matthieu Leproux
2022-09-27 11:59:49 +02:00
parent 5ec6b00509
commit 988cad6a94
+1
View File
@@ -3359,6 +3359,7 @@ function number_format_human_readable($numbers)
{
$readable = array("", "k", "M");
$index = 0;
$numbers = empty($numbers) ? 0 : $numbers;
while ($numbers >= 1000)
{