Merge pull request #14843 from TobiasSekan/FixContractAlwaysZeroOnStatisticsBoard

FIX Contratcs count are always zero on statistics board
This commit is contained in:
Laurent Destailleur 2020-09-28 17:21:19 +02:00 committed by GitHub
commit 6b4a05cf06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2256,7 +2256,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;