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)
This commit is contained in:
parent
4a7529f0e1
commit
2bcc53fc6e
@ -123,7 +123,7 @@ class Fichinter
|
|||||||
*/
|
*/
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter SET ";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter SET ";
|
||||||
$sql .= " datei = $this->date";
|
$sql .= " datei = $this->date";
|
||||||
$sql .= ", note = '$this->note'";
|
$sql .= ", note = '".mysql_real_escape_string($this->note)."'";
|
||||||
$sql .= ", duree = $this->duree";
|
$sql .= ", duree = $this->duree";
|
||||||
$sql .= ", fk_projet = $this->projet_id";
|
$sql .= ", fk_projet = $this->projet_id";
|
||||||
$sql .= " WHERE rowid = $id";
|
$sql .= " WHERE rowid = $id";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user