Fix contratcs are always zero on statistics board

This commit is contained in:
Sekan, Tobias 2020-09-28 08:12:12 +02:00 committed by Laurent Destailleur
parent 57b7666bf1
commit 6c1700d84a

View File

@ -2329,7 +2329,7 @@ class Contrat extends CommonObject
{
while ($obj = $this->db->fetch_object($resql))
{
$this->nb["Contracts"] = $obj->nb;
$this->nb["contracts"] = $obj->nb;
}
$this->db->free($resql);
return 1;