mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 18:38:25 +00:00
Fix hytera_h2f bug (#10281)
This commit is contained in:
parent
ccb6e2e614
commit
27bc9a1cfb
@ -1812,7 +1812,7 @@ function hytera_h2f($number, $nd)
|
||||
$binpoint=substr($scibin, $exp);
|
||||
$intnumber=bindec("1".$binint);
|
||||
|
||||
$tmppoint = "";
|
||||
$tmppoint = [];
|
||||
for ($i=0; $i<strlen($binpoint); $i++) {
|
||||
$tmppoint[]=substr($binpoint, $i, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user