Fix object not defined

This commit is contained in:
Laurent Destailleur 2016-06-06 11:25:54 +02:00
parent 9eee61e6b7
commit a0458be943

View File

@ -962,7 +962,7 @@ class FactureRec extends CommonInvoice
if ($this->db->query($sql))
{
$this->date_when = $date;
if ($increment_nb_gen_done>0) $_facrec->nb_gen_done++;
if ($increment_nb_gen_done>0) $this->nb_gen_done++;
return 1;
}
else