From 9adce67e172b27d358d15027ba625e79415ab7db Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 3 Aug 2010 14:34:25 +0000 Subject: [PATCH] Bug : quote get a backslach in the comment of operation --- include/class_acc_operation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class_acc_operation.php b/include/class_acc_operation.php index 72ccc4f06..ea5ed8edd 100644 --- a/include/class_acc_operation.php +++ b/include/class_acc_operation.php @@ -165,7 +165,7 @@ class Acc_Operation function insert_jrn() { - $p_comment=FormatString($this->desc); + $p_comment=$this->desc; $diff=$this->db->get_value("select check_balance ($1)",array($this->grpt)); if ( $diff != 0 ) { @@ -595,4 +595,4 @@ class Acc_Fin extends Acc_Detail FROM quant_fin where jr_id = $1"; $this->det->array=$this->db->get_array($sql,array($this->jr_id)); } -} \ No newline at end of file +}