mirror of
https://github.com/unraid/webgui.git
synced 2026-04-30 06:49:24 -05:00
PHP8 support
This commit is contained in:
@@ -39,7 +39,7 @@ function my_scale($value, &$unit, $decimals=NULL, $scale=NULL, $kilo=1000) {
|
||||
}
|
||||
function my_number($value) {
|
||||
global $display;
|
||||
$number = $display['number'];
|
||||
$number = $display['number']??'';
|
||||
return number_format($value, 0, $number[0], ($value>=10000 ? $number[1] : ''));
|
||||
}
|
||||
function my_time($time, $fmt=NULL) {
|
||||
|
||||
Reference in New Issue
Block a user