Drop the double <tr>

Must be displayed both in the if and else
This commit is contained in:
Yoan Mollard 2023-02-26 22:18:30 +01:00
parent fd371cc52b
commit a02e88dc28

View File

@ -542,7 +542,6 @@ $morphys["mor"] = $langs->trans("Moral");
print '<tr class="morphy"><td class="titlefield">'.$langs->trans('MemberNature').' <span style="color: red">*</span></td><td>'."\n";
if (empty($conf->global->MEMBER_NEWFORM_FORCEMORPHY)) {
print '<tr class="morphy"><td class="titlefield">'.$langs->trans('MemberNature').' <span style="color: red">*</span></td><td>'."\n";
print $form->selectarray("morphy", $morphys, GETPOST('morphy'), 1);
print '</td></tr>'."\n";
} else {