Complete option MAIN_FREE_PRODUCT_CHECKED_BY_DEFAULT
This commit is contained in:
parent
b623b88674
commit
eff2fc1e9e
@ -1106,13 +1106,13 @@ class Form
|
||||
}
|
||||
|
||||
print '<option value="0"';
|
||||
if (0 == $selected) {
|
||||
if (0 == $selected || getDolGlobalString('MAIN_FREE_PRODUCT_CHECKED_BY_DEFAULT') == 'product') {
|
||||
print ' selected';
|
||||
}
|
||||
print '>'.$langs->trans("Product");
|
||||
|
||||
print '<option value="1"';
|
||||
if (1 == $selected) {
|
||||
if (1 == $selected || getDolGlobalString('MAIN_FREE_PRODUCT_CHECKED_BY_DEFAULT') == 'service') {
|
||||
print ' selected';
|
||||
}
|
||||
print '>'.$langs->trans("Service");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user