Fix: Show notes only if module is enabled
This commit is contained in:
parent
830c9e0239
commit
324fff27a8
@ -478,10 +478,13 @@ class Form
|
|||||||
print '<option value="1"';
|
print '<option value="1"';
|
||||||
if (1 == $selected) print ' selected="true"';
|
if (1 == $selected) print ' selected="true"';
|
||||||
print '>'.$langs->trans("Service");
|
print '>'.$langs->trans("Service");
|
||||||
|
|
||||||
print '<option value="9"';
|
if ($conf->milestone->enabled)
|
||||||
if (9 == $selected) print ' selected="true"';
|
{
|
||||||
print '>'.$langs->trans("Notes");
|
print '<option value="9"';
|
||||||
|
if (9 == $selected) print ' selected="true"';
|
||||||
|
print '>'.$langs->trans("Notes");
|
||||||
|
}
|
||||||
|
|
||||||
print '</select>';
|
print '</select>';
|
||||||
//if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
|
//if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user