mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
fix #1722 fixing number_format() error on fresh install
This commit is contained in:
@@ -3359,6 +3359,7 @@ function number_format_human_readable($numbers)
|
||||
{
|
||||
$readable = array("", "k", "M");
|
||||
$index = 0;
|
||||
$numbers = empty($numbers) ? 0 : $numbers;
|
||||
|
||||
while ($numbers >= 1000)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user