Table columns should be quoted in Server/lib/classes/db_mysql.inc.php
An insert or update on table "web_domain" with all columns set in variable "form" causes an error because ssl is not quoted and treated as sql.
In functions "insert" "update", maybe more..., of Server/lib/classes/db_mysql.inc.php the column names should be quoted.
change
insql .= "
key = '".$this->check($value)."', ";
to
$insql .= "$key
= '".$this->check($value)."', ";