This commit is contained in:
Laurent Destailleur 2018-04-27 10:18:22 +02:00
parent 59e5545aa7
commit aa30b946b6

View File

@ -71,7 +71,6 @@ if (empty($date_start) || empty($date_end)) // We define date_start and date_end
}
$month_end=$month_start-1;
if ($month_end < 1) $month_end=12;
else $year_end++;
}
else $month_end=$month_start;
$date_start=dol_get_first_day($year_start,$month_start,false); $date_end=dol_get_last_day($year_end,$month_end,false);