Fix: probleme avec les apostrophes
This commit is contained in:
parent
5e7b65b917
commit
ed867bdba9
1 changed files with 1 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ class UserGroup
|
|||
{
|
||||
|
||||
$sql = "INSERT into ".MAIN_DB_PREFIX."usergroup (datec,nom)";
|
||||
$sql .= " VALUES(now(),'$this->nom')";
|
||||
$sql .= " VALUES(now(),'".addslashes($this->nom)."')";
|
||||
|
||||
$result=$this->db->query($sql);
|
||||
if ($result)
|
||||
|
|
|
|||
Loading…
Reference in a new issue