mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
percentage should be a float instead of an integer
This commit is contained in:
@@ -45,7 +45,7 @@ if (isset($_GET['summary']) || isset($_GET['summaryRaw']) || !count($_GET))
|
||||
}
|
||||
else
|
||||
{
|
||||
$stats[$tmp[0]] = intval($tmp[1]);
|
||||
$stats[$tmp[0]] = floatval($tmp[1]);
|
||||
}
|
||||
}
|
||||
$data = array_merge($data,$stats);
|
||||
|
||||
Reference in New Issue
Block a user