Fix: Fails to create an event
This commit is contained in:
parent
aaa78ab6b7
commit
2aea5180a3
@ -97,7 +97,7 @@ class Events // extends CommonObject
|
||||
$sql.= " '".$_SERVER['REMOTE_ADDR']."',";
|
||||
$sql.= " ".$this->db->idate($this->dateevent).",";
|
||||
$sql.= " ".($user->id?"'".$user->id."'":'NULL').",";
|
||||
$sql.= " '".$this->description."'";
|
||||
$sql.= " '".addslashes($this->description)."'";
|
||||
|
||||
$sql.= ")";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user