Update company.lib.php

This commit is contained in:
Laurent Destailleur 2019-10-01 11:18:14 +02:00 committed by GitHub
parent 5e075d5d30
commit 955d9daf38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -947,7 +947,7 @@ function show_contacts($conf, $langs, $db, $object, $backtopage = '')
$search=array();
foreach($arrayfields as $key => $val)
{
$queryName = sprintf('search_%s', substr($key, 2));
$queryName = 'search_'.substr($key, 2);
if (GETPOST($queryName, 'alpha')){
$search[$key]=GETPOST($queryName, 'alpha');
}