Fix: Bad selection of years into graphics
This commit is contained in:
parent
657c4d6e90
commit
7f549e60f2
@ -282,12 +282,7 @@ print "</table>";
|
|||||||
|
|
||||||
// BUILDING GRAPHICS
|
// BUILDING GRAPHICS
|
||||||
|
|
||||||
$datetime = dol_now();
|
$year = $year_end;
|
||||||
$year = dol_print_date($datetime, "%Y");
|
|
||||||
$month = dol_print_date($datetime, "%m");
|
|
||||||
$day = dol_print_date($datetime, "%d");
|
|
||||||
if (! empty($_GET["year"])) $year=sprintf("%04d",$_GET["year"]);
|
|
||||||
if (! empty($_GET["month"])) $month=sprintf("%02d",$_GET["month"]);
|
|
||||||
|
|
||||||
$result=dol_mkdir($conf->banque->dir_temp);
|
$result=dol_mkdir($conf->banque->dir_temp);
|
||||||
if ($result < 0)
|
if ($result < 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user