From 1ace1785725a6b869ef4cb7d12c3188c67ce21c8 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 16 Feb 2006 16:01:47 +0000 Subject: [PATCH] bugfix --- htdocs/compta/propal.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/compta/propal.php b/htdocs/compta/propal.php index dd1cb27e5b9..f5232d3dff6 100644 --- a/htdocs/compta/propal.php +++ b/htdocs/compta/propal.php @@ -2,7 +2,7 @@ /* Copyright (C) 2001-2003,2005 Rodolphe Quiedeville * Copyright (C) 2004-2005 Destailleur Laurent * Copyright (C) 2004 Eric Seigne - * Copyright (C) 2005 Regis Houssin + * Copyright (C) 2005-2006 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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_id,'cond_reglement_id'); + $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->cond_reglement,'cond_reglement_id'); } else { - $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->cond_reglement_id,'none'); + $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->cond_reglement,'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_id,'mode_reglement_id'); + $html->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->mode_reglement,'mode_reglement_id'); } else { - $html->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->mode_reglement_id,'none'); + $html->form_modes_reglement($_SERVER['PHP_SELF'].'?facid='.$prop->id,$prop->mode_reglement,'none'); } print '';