Update list.php

rename MAIN_SEARCH_CATEGORY_CUSTOMER_ON_LISTS
This commit is contained in:
lvessiller-opendsi 2022-11-26 10:41:58 +01:00 committed by GitHub
parent f71c94ed05
commit ecccbd3cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -946,7 +946,7 @@ if (isModEnabled('categorie') && $user->rights->categorie->lire) {
$moreforfilter .= $formcategory->getFilterBox(Categorie::TYPE_PROJECT, $search_category_array);
}
// Filter on customer categories
if (!empty($conf->global->MAIN_SEARCH_CATEGORY_CUSTOMER_ON_LISTS) && !empty($conf->categorie->enabled) && $user->rights->categorie->lire) {
if (!empty($conf->global->MAIN_SEARCH_CATEGORY_CUSTOMER_ON_PROJECT_LIST) && !empty($conf->categorie->enabled) && $user->rights->categorie->lire) {
$moreforfilter .= '<div class="divsearchfield">';
$tmptitle = $langs->transnoentities('CustomersProspectsCategoriesShort');
$moreforfilter .= img_picto($tmptitle, 'category', 'class="pictofixedwidth"');