Fix phpcs
This commit is contained in:
parent
28abf5663b
commit
364deb1476
@ -61,7 +61,7 @@ if (empty($date_start) || empty($date_end)) // We define date_start and date_end
|
|||||||
$q=GETPOST("q");
|
$q=GETPOST("q");
|
||||||
if (empty($q))
|
if (empty($q))
|
||||||
{
|
{
|
||||||
if (GETPOST("month")) { $date_start=dol_get_first_day($year_start,GETPOST("month"),false); $date_end=dol_get_last_day($year_start,GETPOST("month"),false); }
|
if (GETPOST("month", 'int')) { $date_start=dol_get_first_day($year_start, GETPOST("month", 'int'), false); $date_end=dol_get_last_day($year_start, GETPOST("month", 'int'), false); }
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$date_start=dol_get_first_day($year_start, empty($conf->global->SOCIETE_FISCAL_MONTH_START)?1:$conf->global->SOCIETE_FISCAL_MONTH_START, false);
|
$date_start=dol_get_first_day($year_start, empty($conf->global->SOCIETE_FISCAL_MONTH_START)?1:$conf->global->SOCIETE_FISCAL_MONTH_START, false);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user