Skip to content
Snippets Groups Projects
Commit 2aea5180 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Fails to create an event

parent aaa78ab6
Branches
Tags
No related merge requests found
...@@ -97,7 +97,7 @@ class Events // extends CommonObject ...@@ -97,7 +97,7 @@ class Events // extends CommonObject
$sql.= " '".$_SERVER['REMOTE_ADDR']."',"; $sql.= " '".$_SERVER['REMOTE_ADDR']."',";
$sql.= " ".$this->db->idate($this->dateevent).","; $sql.= " ".$this->db->idate($this->dateevent).",";
$sql.= " ".($user->id?"'".$user->id."'":'NULL').","; $sql.= " ".($user->id?"'".$user->id."'":'NULL').",";
$sql.= " '".$this->description."'"; $sql.= " '".addslashes($this->description)."'";
$sql.= ")"; $sql.= ")";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment