From 2c496d2ac06c8d5547c8d3013a7767f5390d5c28 Mon Sep 17 00:00:00 2001 From: Xebax Date: Sun, 6 Jan 2019 13:42:41 +0100 Subject: [PATCH] FIX Civility not saved when creating a member. --- htdocs/adherents/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php index 0284155ddc1..0776a86d7d9 100644 --- a/htdocs/adherents/card.php +++ b/htdocs/adherents/card.php @@ -446,7 +446,7 @@ if (empty($reshook)) } $typeid=GETPOST("typeid",'int'); - $civility_id=GETPOST("civility_id",'int'); + $civility_id=GETPOST("civility_id",'alpha'); $lastname=GETPOST("lastname",'alpha'); $firstname=GETPOST("firstname",'alpha'); $societe=GETPOST("societe",'alpha');