diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index ba33236aefe..8ded8a64c72 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -779,6 +779,13 @@ if ($resql) if (! empty($arrayfields["ef.".$key]['checked'])) { print ''; + $typeofextrafield=$extrafields->attribute_type[$key]; + if (in_array($typeofextrafield, array('varchar', 'int'))) + { + $crit=$val; + $tmpkey=preg_replace('/search_options_/','',$key); + print ''; + } print ''; } }