From 2bcc53fc6ed6342184dffb34a23bc588141c9f8b Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 14 Nov 2005 21:38:44 +0000 Subject: [PATCH] =?UTF-8?q?tiens,=20un=20autre=20bugfix=20:=20si=20on=20me?= =?UTF-8?q?t=20un=20'=20dans=20le=20libell=E9=20d'une=20intervention,=20le?= =?UTF-8?q?s=20modifs=20marchent=20plus=20:-(=20(ca=20a=20l'air=20sp=E9cif?= =?UTF-8?q?ique=20=E0=20mysql,=20on=20me=20corrigera=20le=20cas=20=E9ch=E9?= =?UTF-8?q?ant)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fichinter/fichinter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/fichinter.class.php b/htdocs/fichinter/fichinter.class.php index dc269aefc1f..1317ef67930 100644 --- a/htdocs/fichinter/fichinter.class.php +++ b/htdocs/fichinter/fichinter.class.php @@ -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";