diff --git a/index.php b/index.php index 40b4736..a62d7d6 100644 --- a/index.php +++ b/index.php @@ -76,7 +76,7 @@ function get_stats(){ if ($row = $res->fetch_assoc()) { $ret["match"] = $row["c"]; } - + $ret["unmatched"] = $ret["found"] + $ret["lost"] - 2 * $ret["match"]; return $ret; } diff --git a/templates/dashboard.php b/templates/dashboard.php index 15a090f..018546f 100644 --- a/templates/dashboard.php +++ b/templates/dashboard.php @@ -29,7 +29,7 @@ $stats = get_stats();