Add comment name to the delete comments command form

refs #11398
This commit is contained in:
Eric Lippmann 2016-08-31 13:47:56 +02:00
parent b0be1e56dd
commit 5737521683

View File

@ -72,6 +72,7 @@ class DeleteCommentsCommandForm extends CommandForm
$cmd = new DeleteCommentCommand(); $cmd = new DeleteCommentCommand();
$cmd $cmd
->setCommentId($comment->id) ->setCommentId($comment->id)
->setCommentName($comment->name)
->setIsService(isset($comment->service_description)); ->setIsService(isset($comment->service_description));
$this->getTransport($this->request)->send($cmd); $this->getTransport($this->request)->send($cmd);
} }