* finish task #6212.
This commit is contained in:
@@ -45,9 +45,11 @@ class actionModel extends model
|
||||
$action->actor = $actor;
|
||||
$action->action = $actionType;
|
||||
$action->date = helper::now();
|
||||
$action->comment = trim(strip_tags($comment, $this->config->allowedTags));
|
||||
$action->extra = $extra;
|
||||
|
||||
$_POST['comment'] = $comment;
|
||||
$action->comment = fixer::input('post')->stripTags('comment')->get('comment');
|
||||
|
||||
/* Process action. */
|
||||
$action = $this->loadModel('file')->processImgURL($action, 'comment', $this->post->uid);
|
||||
if($autoDelete) $this->file->autoDelete($this->post->uid);
|
||||
|
||||
Reference in New Issue
Block a user