fix(scrutinizer)
This commit is contained in:
parent
7deccc97b1
commit
02061a776b
@ -49,9 +49,8 @@ $HEIGHT = DolGraph::getDefaultGraphSizeForStats('height');
|
||||
$mesg = '';
|
||||
|
||||
print load_fiche_titre($langs->trans("StatisticsOfReceptions").' '.GETPOST("year", 'int'), $mesg);
|
||||
|
||||
$stats = new ReceptionStats($db);
|
||||
$data = $stats->getNbReceptionByMonth(GETPOST("year", 'int'));
|
||||
$stats = new ReceptionStats($db, $socid, '', ($userid > 0 ? $userid : 0));
|
||||
$data = $stats->getNbByMonth($year);
|
||||
|
||||
dol_mkdir($conf->reception->dir_temp);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user