Revert "Fix member nature display in new.php"

This reverts commit fd371cc52b.
This commit is contained in:
Yoan Mollard 2023-03-05 16:58:45 +01:00
parent d9c47b93df
commit 7a7d1c2fb1

View File

@ -539,8 +539,6 @@ if (empty($conf->global->MEMBER_NEWFORM_FORCETYPE)) {
// Moral/Physic attribute
$morphys["phy"] = $langs->trans("Physical");
$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);