Merge pull request #12352 from frederic34/patch-16

Update list.php reception
This commit is contained in:
Laurent Destailleur 2019-11-07 11:32:34 +01:00 committed by GitHub
commit d8e30c5ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ $extrafields = new ExtraFields($db);
// fetch optionals attributes and labels
$extrafields->fetch_name_optionals_label($object->table_element);
$search_array_options=$extrafields->getOptionalsFromPost(null, '', 'search_');
$search_array_options = (array) $extrafields->getOptionalsFromPost($object->table_element, '', 'search_');
// List of fields to search into when doing a "search in all"
$fieldstosearchall = array(