diff --git a/htdocs/fichinter/fichinter.class.php b/htdocs/fichinter/fichinter.class.php
index 1317ef679306e99d1d3e1c6f0f8736f2aeed0f04..0b7d3994c2f8b87d5cbe7e53cc6b014a32b4df4a 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  = '".mysql_real_escape_string($this->note)."'";
+        $sql .= ", note  = '".addslashes($this->note)."'";
         $sql .= ", duree = $this->duree";
         $sql .= ", fk_projet = $this->projet_id";
         $sql .= " WHERE rowid = $id";