Fix hytera_h2f bug (#10281)

This commit is contained in:
Tony Murray 2019-05-30 09:56:27 -05:00 committed by GitHub
parent ccb6e2e614
commit 27bc9a1cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}