Skip to content
Snippets Groups Projects
Commit 2bcc53fc authored by Unknown's avatar Unknown
Browse files

tiens, un autre bugfix : si on met un ' dans le libellé d'une intervention,...

tiens, un autre bugfix : si on met un ' dans le libellé d'une intervention, les modifs marchent plus :-(
(ca a l'air spécifique à mysql, on me corrigera le cas échéant)
parent 4a7529f0
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ class Fichinter
*/
$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter SET ";
$sql .= " datei = $this->date";
$sql .= ", note = '$this->note'";
$sql .= ", note = '".mysql_real_escape_string($this->note)."'";
$sql .= ", duree = $this->duree";
$sql .= ", fk_projet = $this->projet_id";
$sql .= " WHERE rowid = $id";
......
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