Forgot to rename the variable

This commit is contained in:
Marcos García
2012-08-15 01:20:53 +02:00
committed by Regis Houssin
parent acb9380f1c
commit f03e0965e2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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