diff --git a/htdocs/comm/action/list.php b/htdocs/comm/action/list.php index e67d2bdc89c..6db3365d407 100644 --- a/htdocs/comm/action/list.php +++ b/htdocs/comm/action/list.php @@ -79,6 +79,7 @@ $search_id = GETPOST('search_id', 'alpha'); $search_title = GETPOST('search_title', 'alpha'); $search_note = GETPOST('search_note', 'alpha'); +// $dateselect is a day including inside the event range $dateselect = dol_mktime(0, 0, 0, GETPOST('dateselectmonth', 'int'), GETPOST('dateselectday', 'int'), GETPOST('dateselectyear', 'int'), 'tzuserrel'); $datestart_dtstart = dol_mktime(0, 0, 0, GETPOST('datestart_dtstartmonth', 'int'), GETPOST('datestart_dtstartday', 'int'), GETPOST('datestart_dtstartyear', 'int'), 'tzuserrel'); $datestart_dtend = dol_mktime(23, 59, 59, GETPOST('datestart_dtendmonth', 'int'), GETPOST('datestart_dtendday', 'int'), GETPOST('datestart_dtendyear', 'int'), 'tzuserrel'); diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php index 56523acc8d2..aac2d0c6ee7 100644 --- a/htdocs/comm/action/peruser.php +++ b/htdocs/comm/action/peruser.php @@ -1042,6 +1042,8 @@ print "\n"; print '