fix(scrutinizer)

This commit is contained in:
FLIO 2022-12-07 14:30:13 +01:00
parent 7deccc97b1
commit 02061a776b

View File

@ -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);