From 3ae6cb47eec488fe30943acc15427773601c39f7 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 7 Nov 2003 10:49:04 +0000 Subject: [PATCH] Modif html --- htdocs/comm/propal.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index a29ed9424ef..00e5641e141 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -112,15 +112,14 @@ if ($action == 'pdf') propale_pdf_create($db, $propalid, $propal->modelpdf); } -if ($action == 'setstatut' && $user->rights->propale->cloturer) +if ($HTTP_POST_VARS["action"] == 'setstatut' && $user->rights->propale->cloturer) { /* * Cloture de la propale */ $propal = new Propal($db); $propal->fetch($propalid); - $propal->cloture($user->id, $statut, $note); - + $propal->cloture($user, $statut, $note); } if ($action == 'modif' && $user->rights->propale->creer) @@ -273,7 +272,7 @@ if ($propalid) print "Destinataire$obj->firstname $obj->name <$obj->email>"; - print 'Note :
'. nl2br($propal->note).""; + print 'Note :
'. nl2br($propal->note).""; if ($obj->fk_projet) { @@ -309,8 +308,8 @@ if ($propalid) if ($action == 'statut') { print "
"; - print ''; - print "
Clôturer comme : "; + print '
'; + print '
Clôturer comme : '; print "