From db673bfc2fd5a28f414ccc81a9c3fad846cbcb5a Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 24 Sep 2017 10:11:42 +0200 Subject: [PATCH] =?UTF-8?q?Task=20#1469=20:=20=20Les=20esperluettes=20ne?= =?UTF-8?q?=20passent=20pas=20dans=20les=20libell=C3=A9s=20=20pour=20?= =?UTF-8?q?=C2=ABop=C3=A9ration=20identique=C2=BB.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/class/acc_ledger_purchase.class.php | 2 +- include/class/acc_ledger_sold.class.php | 2 +- include/compta_ven.inc.php | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) 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 //