Skip to content
Snippets Groups Projects
Commit f7493de5 authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

Fix : supplier order clone was buggy if notes contains apostrophe

parent 15060d97
No related branches found
No related tags found
No related merge requests found
......@@ -911,8 +911,8 @@ class CommandeFournisseur extends CommonOrder
$sql.= " VALUES (";
$sql.= "''";
$sql.= ", '".$this->ref_supplier."'";
$sql.= ", '".$this->note_private."'";
$sql.= ", '".$this->note_public."'";
$sql.= ", '".$this->db->escape($this->note_private)."'";
$sql.= ", '".$this->db->escape($this->note_public)."'";
$sql.= ", ".$conf->entity;
$sql.= ", ".$this->socid;
$sql.= ", '".$this->db->idate($now)."'";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment