diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 26e7724d78bb9eef831f429123eac5f04309c56e..891302c3eb4cb6efa241632b7be13a03bb42aaf5 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -479,9 +479,12 @@ class Form if (1 == $selected) print ' selected="true"'; print '>'.$langs->trans("Service"); - print '<option value="9"'; - if (9 == $selected) print ' selected="true"'; - print '>'.$langs->trans("Notes"); + if ($conf->global->MAIN_USE_NOTES_IN_DETAILS) + { + print '<option value="9"'; + if (9 == $selected) print ' selected="true"'; + print '>'.$langs->trans("Notes"); + } print '</select>'; //if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);