From 988cad6a9479b1e88b4322b43cef912e93176f3d Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Tue, 27 Sep 2022 11:59:49 +0200 Subject: [PATCH] fix #1722 fixing number_format() error on fresh install --- admin/include/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/include/functions.php b/admin/include/functions.php index 38bbdc573..6455d4eb4 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -3359,6 +3359,7 @@ function number_format_human_readable($numbers) { $readable = array("", "k", "M"); $index = 0; + $numbers = empty($numbers) ? 0 : $numbers; while ($numbers >= 1000) {