|
@@ -286,8 +286,8 @@ if ($nb) {
|
|
|
|
|
|
if ($type != 'bank-transfer') {
|
|
|
print '<select name="format">';
|
|
|
- print '<option value="FRST"'.(GETPOST('format', 'aZ09') == 'FRST' ? ' selected="selected"' : '').'>'.$langs->trans('SEPAFRST').'</option>';
|
|
|
- print '<option value="RCUR"'.(GETPOST('format', 'aZ09') == 'RCUR' ? ' selected="selected"' : '').'>'.$langs->trans('SEPARCUR').'</option>';
|
|
|
+ print '<option value="FRST"'.($format == 'FRST' ? ' selected="selected"' : '').'>'.$langs->trans('SEPAFRST').'</option>';
|
|
|
+ print '<option value="RCUR"'.($format == 'RCUR' ? ' selected="selected"' : '').'>'.$langs->trans('SEPARCUR').'</option>';
|
|
|
print '</select>';
|
|
|
}
|
|
|
print '<input type="submit" class="butAction" value="'.$title.'"/>';
|