backend sendRegistration
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user