Fix: Bad translaction for prospect levels
This commit is contained in:
parent
1677fc677e
commit
70fed39886
@ -2034,12 +2034,15 @@ class Form
|
||||
print '<option value="'.$obj->code.'"';
|
||||
if ($selected == $obj->code) print ' selected="true"';
|
||||
print '>';
|
||||
print $obj->label;
|
||||
$level=$langs->trans($obj->code);
|
||||
if ($level == $obj->code) $level=$langs->trans($obj->label);
|
||||
print $level;
|
||||
print '</option>';
|
||||
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
else dolibarr_print_error($this->db);
|
||||
print '</select>';
|
||||
|
||||
print '</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user