fix dashboard issue

This commit is contained in:
/jedi/ 2018-12-29 21:56:33 +01:00
parent 943d209fd3
commit ba4ea49fbd

View file

@ -76,6 +76,7 @@ function get_stats(){
if ($row = $res->fetch_assoc()) { if ($row = $res->fetch_assoc()) {
$ret["match"] = $row["c"]; $ret["match"] = $row["c"];
} }
$ret["unmatched"] = $ret["found"] + $ret["lost"] - 2 * $ret["match"];
return $ret; return $ret;
} }