Fix bad name of hidden constant

This commit is contained in:
Laurent Destailleur 2019-08-27 03:23:25 +02:00
parent 290766acaa
commit 784f5ec097

View File

@ -522,9 +522,9 @@ if ($resql)
$nb=$obj->nb; $nb=$obj->nb;
if ($nb > $limitforoptim) if ($nb > $limitforoptim)
{ {
if (empty($conf->global->THIRDPARTY_DONOTSEARCH_ANYWHERE)) if (empty($conf->global->COMPANY_DONOTSEARCH_ANYWHERE))
{ {
print img_picto('', 'warning.png').' '.$langs->trans("YouHaveXObjectUseSearchOptim", $nb, $langs->transnoentitiesnoconv("ThirdParties"), 'THIRDPARTY_DONOTSEARCH_ANYWHERE'); print img_picto('', 'warning.png').' '.$langs->trans("YouHaveXObjectUseSearchOptim", $nb, $langs->transnoentitiesnoconv("ThirdParties"), 'COMPANY_DONOTSEARCH_ANYWHERE');
} }
else else
{ {