Bug : quote get a backslach in the comment of operation

This commit is contained in:
Dany De Bontridder 2010-08-03 14:34:25 +00:00
parent 37d2044d99
commit 9adce67e17

View file

@ -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));
}
}
}