Fix: mauvaise constante

This commit is contained in:
Regis Houssin 2007-05-28 17:52:21 +00:00
parent ab1102cb93
commit b725cf874e

View File

@ -226,7 +226,7 @@ function info()
$max = $row[0];
}
}
else if ($conf->global->PROPALE_NUM_DELTA != '' && !eregi('^'.$this->searchLastWithPreviousYear.'',$previousyy))
else if ($conf->global->FACTURE_NUM_DELTA != '' && !eregi('^'.$this->searchLastWithPreviousYear.'',$previousyy))
{
// on applique le delta une seule fois
$max=$conf->global->FACTURE_NUM_DELTA?$conf->global->FACTURE_NUM_DELTA-1:0;