Fix contratcs are always zero on statistics board
This commit is contained in:
parent
85fc471d3d
commit
10c034efdf
@ -2257,7 +2257,7 @@ class Contrat extends CommonObject
|
|||||||
{
|
{
|
||||||
while ($obj = $this->db->fetch_object($resql))
|
while ($obj = $this->db->fetch_object($resql))
|
||||||
{
|
{
|
||||||
$this->nb["Contracts"] = $obj->nb;
|
$this->nb["contracts"] = $obj->nb;
|
||||||
}
|
}
|
||||||
$this->db->free($resql);
|
$this->db->free($resql);
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user