backend sendRegistration

This commit is contained in:
Lorenzo Giacomelli
2016-03-08 12:20:43 +01:00
parent 17f21e8b0d
commit d1296a1fc7
7 changed files with 106 additions and 11 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ try {
$news->user = UserLoginManager::getLogged();
$commento = new CommentoModel($news);
$commento->titolo = $titolo;
$commento->testo = $testo;
$commento->titolo = strip_tags($titolo);
$commento->testo = strip_tags($testo);
$commento->status = CommentoModel::STATUS_PENDING;
GlobalVariables::get("dao")->save($commento);