From 441a65a1cf10e62726b13414d9a4b22d7a0bbb2a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 16 Feb 2006 18:44:23 +0000 Subject: [PATCH] bugfix --- htdocs/compta/propal.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/propal.php b/htdocs/compta/propal.php index 4c471c17c5c..0383b2f3a21 100644 --- a/htdocs/compta/propal.php +++ b/htdocs/compta/propal.php @@ -200,11 +200,11 @@ if ($_GET["propalid"] > 0) print ''; if ($_GET['action'] == 'editconditions') { - $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->cond_reglement,'cond_reglement_id'); + $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$propal->cond_reglement_id,'cond_reglement_id'); } else { - $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->cond_reglement,'none'); + $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$propal->cond_reglement_id,'none'); } print ''; print ''; @@ -216,11 +216,11 @@ if ($_GET["propalid"] > 0) print ''; if ($_GET['action'] == 'editmode') { - $html->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->mode_reglement,'mode_reglement_id'); + $html->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$propal->mode_reglement_id,'mode_reglement_id'); } else { - $html->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->mode_reglement,'none'); + $html->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$propal->mode_reglement_id,'none'); } print '';