Skip to content
Snippets Groups Projects
Commit 37ffac06 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: missing addslashes

parent 5ec9f99d
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ class Cotisation extends CommonObject
$sql.= " VALUES (".$this->fk_adherent.", ".$this->db->idate(mktime()).",";
$sql.= " ".$this->db->idate($this->dateh).",";
$sql.= " ".$this->db->idate($this->datef).",";
$sql.= " ".$this->amount.",'".$this->note."')";
$sql.= " ".$this->amount.",'".addslashes($this->note)."')";
dol_syslog("Cotisation::create sql=".$sql);
$resql = $this->db->query($sql);
......
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