From 10a6dbb30b402e821bb6c6f8642081b339806baf Mon Sep 17 00:00:00 2001 From: g7sim <60353863+g7sim@users.noreply.github.com> Date: Sat, 10 Jun 2023 20:26:42 +0200 Subject: [PATCH] Update Remote.php number_format(): Passing null to parameter #1 ($num) of type float is deprecated --- include/admin/Addon/Remote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/admin/Addon/Remote.php b/include/admin/Addon/Remote.php index 7ec0665..ac82ab2 100644 --- a/include/admin/Addon/Remote.php +++ b/include/admin/Addon/Remote.php @@ -105,7 +105,7 @@ class Remote extends \gp\admin\Addon\Install{ echo ''; echo $row['version']; echo ''; - echo sprintf($langmessage['_downloads'],number_format($row['downloads'])); + echo sprintf($langmessage['_downloads'],number_format(floatval($row['downloads'])) ); echo '
'; $this->CurrentRating($row['rating_weighted']); echo '
';