diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index 3e9335a30d1..adede9add85 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -1054,7 +1054,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { $morphys = array(); $morphys["phy"] = $langs->trans("Physical"); $morphys["mor"] = $langs->trans("Moral"); - $checkednature = (GETPOSTISSET("morphy") ? GETPOST("morphy", 'alpha') : $object->morphy); + $checkednature = ((GETPOSTISSET("morphy") || $action == 'create' )? GETPOST("morphy", 'alpha') : $object->morphy); + print '