Forgot to rename the variable
This commit is contained in:
parent
acb9380f1c
commit
f03e0965e2
@ -138,7 +138,7 @@ if (! $mesg)
|
||||
}
|
||||
|
||||
|
||||
$res = $stats->getAverageByMonthWithPrevYear($endyear, $startyear);
|
||||
$data = $stats->getAverageByMonthWithPrevYear($endyear, $startyear);
|
||||
|
||||
if (!$user->rights->societe->client->voir || $user->societe_id)
|
||||
{
|
||||
|
||||
@ -149,7 +149,7 @@ if (! $mesg)
|
||||
}
|
||||
|
||||
|
||||
$res = $stats->getAverageByMonthWithPrevYear($endyear, $startyear);
|
||||
$data = $stats->getAverageByMonthWithPrevYear($endyear, $startyear);
|
||||
|
||||
if (!$user->rights->societe->client->voir || $user->societe_id)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user