From 79e0c5943864a343efa1c50d7af1f61b577d0c4b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 30 Dec 2009 12:03:39 +0000 Subject: [PATCH] Fix: field "public" missing --- htdocs/adherents/fiche.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index ce2e860fbb0..0746a024de8 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -348,6 +348,7 @@ if ($_POST["action"] == 'add' && $user->rights->adherent->creer) $comment=$_POST["comment"]; $morphy=$_POST["morphy"]; $cotisation=$_POST["cotisation"]; + $public=$_POST["public"]; $userid=$_POST["userid"]; $socid=$_POST["socid"]; @@ -372,6 +373,8 @@ if ($_POST["action"] == 'add' && $user->rights->adherent->creer) $adh->morphy = $morphy; $adh->user_id = $userid; $adh->fk_soc = $socid; + $adh->public = $public; + foreach($_POST as $key => $value) { if (preg_match("/^options_/",$key))