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