correction (enfin j'espere) d'un bug qui remttais tjs le statut d'un adherents a 'a valider' a chaque edition de l'adherent

This commit is contained in:
jlb 2003-01-10 16:02:31 +00:00
parent 8d31a7006e
commit 996d94e68b

View File

@ -52,6 +52,8 @@ if ($action == 'update')
$adh->typeid = $HTTP_POST_VARS["type"];
$adh->commentaire = $HTTP_POST_VARS["comment"];
$adh->morphy = $HTTP_POST_VARS["morphy"];
// recuperation du statut
$adh->statut = $HTTP_POST_VARS["statut"];
if ($adh->update($user->id) )
{
@ -122,6 +124,7 @@ if ($rowid)
print "<input type=\"hidden\" name=\"action\" value=\"update\">";
print "<input type=\"hidden\" name=\"rowid\" value=\"$rowid\">";
print "<input type=\"hidden\" name=\"statut\" value=\"".$adh->statut."\">";
$htmls = new Form($db);