Update list.php

$xxxx_start / $xxxx_end :   " "  =>  ' '
This commit is contained in:
UT from dolibit 2021-04-19 17:37:08 +02:00 committed by GitHub
parent 4d916f3c9f
commit 9b9ddc2c3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,18 +99,21 @@ if (!$sortfield) {
$sall = trim((GETPOST('search_all', 'alphanohtml') != '') ?GETPOST('search_all', 'alphanohtml') : GETPOST('sall', 'alphanohtml')); $sall = trim((GETPOST('search_all', 'alphanohtml') != '') ?GETPOST('search_all', 'alphanohtml') : GETPOST('sall', 'alphanohtml'));
$search_ref = GETPOST('search_ref', 'alpha'); $search_ref = GETPOST('search_ref', 'alpha');
$search_user = GETPOST('search_user', 'int'); $search_user = GETPOST('search_user', 'int');
$search_amount_ht = GETPOST('search_amount_ht', 'alpha'); $search_amount_ht = GETPOST('search_amount_ht', 'alpha');
$search_amount_vat = GETPOST('search_amount_vat', 'alpha'); $search_amount_vat = GETPOST('search_amount_vat', 'alpha');
$search_amount_ttc = GETPOST('search_amount_ttc', 'alpha'); $search_amount_ttc = GETPOST('search_amount_ttc', 'alpha');
$search_status = (GETPOST('search_status', 'intcomma') != '' ?GETPOST('search_status', 'intcomma') : GETPOST('statut', 'intcomma')); $search_status = (GETPOST('search_status', 'intcomma') != '' ?GETPOST('search_status', 'intcomma') : GETPOST('statut', 'intcomma'));
$month_start = GETPOST("month_start", "int");
$year_start = GETPOST("year_start", "int"); $year_start = GETPOST('year_start', 'int');
$day_start = GETPOST("day_start", "int"); $month_start = GETPOST('month_start', 'int');
$day_end = GETPOST("day_end", "int"); $day_start = GETPOST('day_start', 'int');
$month_end = GETPOST("month_end", "int"); $year_end = GETPOST('year_end', 'int');
$year_end = GETPOST("year_end", "int"); $month_end = GETPOST('month_end', 'int');
$day_end = GETPOST('day_end', 'int');
$optioncss = GETPOST('optioncss', 'alpha'); $optioncss = GETPOST('optioncss', 'alpha');
if ($search_status == '') { if ($search_status == '') {