diff --git a/include/class/acc_ledger_purchase.class.php b/include/class/acc_ledger_purchase.class.php index f031dd102..8edd3f629 100644 --- a/include/class/acc_ledger_purchase.class.php +++ b/include/class/acc_ledger_purchase.class.php @@ -1067,7 +1067,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger $Commentaire->size=60; $Commentaire->tabindex=3; $label=HtmlInput::infobulle(1) ; - $f_desc=$Commentaire->input("e_comm",h($e_comm)); + $f_desc=$Commentaire->input("e_comm",$e_comm); // PJ //-- diff --git a/include/class/acc_ledger_sold.class.php b/include/class/acc_ledger_sold.class.php index b857c7063..d3291f2a8 100644 --- a/include/class/acc_ledger_sold.class.php +++ b/include/class/acc_ledger_sold.class.php @@ -1106,7 +1106,7 @@ EOF; $label = HtmlInput::infobulle(1); - $f_desc = $Commentaire->input("e_comm", h($e_comm)) ; + $f_desc = $Commentaire->input("e_comm", $e_comm) ; // PJ //-- /* suggest PJ ? */ diff --git a/include/compta_ven.inc.php b/include/compta_ven.inc.php index 2364f25f6..b6ee2bcc0 100644 --- a/include/compta_ven.inc.php +++ b/include/compta_ven.inc.php @@ -229,12 +229,12 @@ show_tab(a_tab,'facturation_div_id'); return; } } - // ------------------------------ - /* Display a blank form or a form with predef operation */ - // ------------------------------ +// ------------------------------ +/* Display a blank form or a form with predef operation */ +// ------------------------------ - $array=(isset($_POST['correct'])||isset ($correct))?$_POST:null; - $Ledger=new Acc_Ledger_Sold($cn,0); +$array=(isset($_POST['correct'])||isset ($correct))?$_POST:null; +$Ledger=new Acc_Ledger_Sold($cn,0); // // pre defined operation //