From f2ed97dada7c22756443c1cda26f2851bd29c1a1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 21 Jan 2020 10:29:41 +0100 Subject: [PATCH] Fix default value --- htdocs/adherents/type.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index 884177b7df9..11360ad4652 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -342,11 +342,12 @@ if ($action == 'create') print ''; // Morphy + $morphys = array(); $morphys[""] = $langs->trans("MorPhy"); $morphys["phy"] = $langs->trans("Physical"); $morphys["mor"] = $langs->trans("Moral"); print ''.$langs->trans("MemberNature").''; - print $form->selectarray("morphy", $morphys, GETPOSTISSET("morphy") ? GETPOST("morphy", 'aZ09') : 'morphy' : $object->morphy); + print $form->selectarray("morphy", $morphys, GETPOSTISSET("morphy") ? GETPOST("morphy", 'aZ09') : 'morphy'); print ""; print ''.$langs->trans("SubscriptionRequired").'';