Fix #17424 : preg_match error on List of purchase orders
This commit is contained in:
parent
8e1ba67928
commit
484f6f275f
@ -91,8 +91,8 @@ $search_project_ref = GETPOST('search_project_ref', 'alpha');
|
||||
$search_btn = GETPOST('button_search', 'alpha');
|
||||
$search_remove_btn = GETPOST('button_removefilter', 'alpha');
|
||||
|
||||
if (is_array(GETPOST('search_status', 'intcomma'))) {
|
||||
$search_status = join(',', GETPOST('search_status', 'intcomma'));
|
||||
if (is_array(GETPOST('search_status', 'array:intcomma'))) {
|
||||
$search_status = join(',', GETPOST('search_status', 'array:intcomma'));
|
||||
} else {
|
||||
$search_status = (GETPOST('search_status', 'intcomma') != '' ? GETPOST('search_status', 'intcomma') : GETPOST('statut', 'intcomma'));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user