Hi Dirk,

> on 5210R we do see the following error while looking for Server
> Management -> Statistiken -> Platte (with german language settings).
> 
> (I do not see the issue with english languagae settings)
Thank you! I just published an updated base-disk, which fixes this error
- and a similar one in groupDiskUsage.php.

It affected only some languages due to the different decimal point in
various languages:

$percentage = round(100 * '20.80' / '30.00');
$percentage = round(100 * '20,80' / '30,00');

Either of the above worked on PHP-5.4 w/o any errors. In PHP-7.2 it
chokes on the ','. The fun part: The decimal point it chokes on was
added via sprintf() to format the numbers according to the language set
by the user! :p

Either way: It's fixed now and YUM updates have been published. Many
thanks for reporting this.

-- 
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to