diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php index 00c74544d17..ff278ccd719 100644 --- a/htdocs/contact/list.php +++ b/htdocs/contact/list.php @@ -575,7 +575,7 @@ if (!empty($conf->categorie->enabled) && $user->rights->categorie->lire) $moreforfilter .= $formother->select_categories(Categorie::TYPE_CUSTOMER, $search_categ_thirdparty, 'search_categ_thirdparty', 1); $moreforfilter .= ''; } - if (empty($type) || $type == 'f') + if (!empty($conf->fournisseur->enabled) && (empty($type) || $type == 'f')) { $moreforfilter .= '